Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01158/0.01158, allocations: 99.45 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002406/0.002406, allocations: 197.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.542/2.542, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.171/4.171, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002773/0.002773, allocations: 63.91 kB / 0.9505 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714/1.716, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.005247/1.722, allocations: 1.848 MB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003719/1.725, allocations: 1.263 MB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005536/1.726, allocations: 10.5 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003946/1.727, allocations: 71.28 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002993/1.727, allocations: 59.72 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007207/1.728, allocations: 159 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000939/1.729, allocations: 495.6 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008483/1.729, allocations: 270 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004096/1.73, allocations: 176.8 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003989/1.73, allocations: 198.1 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001626/1.73, allocations: 56.47 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/1.731, allocations: 52.66 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001649/1.731, allocations: 113.9 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003413/1.731, allocations: 207.9 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001262/1.732, allocations: 0.592 MB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/1.732, allocations: 0 / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.936e-06/1.732, allocations: 0.7812 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.438e-05/1.732, allocations: 0 / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002423/1.735, allocations: 0.7399 MB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001269/1.735, allocations: 10.42 kB / 1.094 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001956/1.735, allocations: 77.22 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003325/1.736, allocations: 57.39 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/1.737, allocations: 360.8 kB / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.64e-05/1.737, allocations: 29.66 kB / 1.094 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/1.737, allocations: 39.19 kB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/1.739, allocations: 408.2 kB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/1.739, allocations: 3.938 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.448e-05/1.739, allocations: 16.95 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.499e-05/1.739, allocations: 13.97 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/1.74, allocations: 287.2 kB / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00402/1.744, allocations: 1.369 MB / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/1.745, allocations: 250 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004647/1.746, allocations: 116.5 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.737e-05/1.746, allocations: 2.5 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.302e-05/1.746, allocations: 45.2 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 2.685e-06/1.746, allocations: 0 / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20): time 0.001427/1.747, allocations: 294 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001757/1.748, allocations: 110.5 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/1.749, allocations: 414.8 kB / 1.097 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.174e-05/1.749, allocations: 32.33 kB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/1.749, allocations: 260.6 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/1.75, allocations: 70.8 kB / 1.098 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/1.75, allocations: 69.52 kB / 1.098 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003185/1.75, allocations: 347.5 kB / 1.098 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005459/1.751, allocations: 116.2 kB / 1.098 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007292/1.751, allocations: 207.4 kB / 1.098 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/1.752, allocations: 279.6 kB / 1.099 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/1.752, allocations: 1.281 kB / 1.099 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001525/1.754, allocations: 366.3 kB / 1.099 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/1.754, allocations: 9.969 kB / 1.099 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/1.754, allocations: 7.094 kB / 1.099 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-05/1.754, allocations: 3.125 kB / 1.099 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/1.755, allocations: 73.47 kB / 1.099 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.747e-05/1.755, allocations: 7.734 kB / 1.099 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000506/1.755, allocations: 51.42 kB / 1.099 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/1.755, allocations: 13.72 kB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005341/1.756, allocations: 199.1 kB / 1.099 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004288/1.756, allocations: 184.5 kB / 1.1 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000584/1.757, allocations: 231.5 kB / 1.1 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.953e-06/1.757, allocations: 0.9688 kB / 1.1 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001018/1.758, allocations: 321.8 kB / 1.1 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/1.758, allocations: 9.062 kB / 1.1 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/1.758, allocations: 2.875 kB / 1.1 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/1.758, allocations: 7.438 kB / 1.1 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/1.758, allocations: 61.84 kB / 1.1 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/1.758, allocations: 8.266 kB / 1.1 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004411/1.759, allocations: 41.41 kB / 1.1 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/1.759, allocations: 17.62 kB / 1.1 GB, free: 13.18 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004398/1.759, allocations: 194.5 kB / 1.1 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/1.76, allocations: 41.05 kB / 1.101 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009863/1.761, allocations: 243.7 kB / 1.101 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/1.761, allocations: 2.719 kB / 1.101 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/1.761, allocations: 4 kB / 1.101 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/1.761, allocations: 1.844 kB / 1.101 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/1.763, allocations: 0.7934 MB / 1.102 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.763, allocations: 1.734 kB / 1.102 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/1.764, allocations: 39.66 kB / 1.102 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.897e-05/1.764, allocations: 10.22 kB / 1.102 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/1.764, allocations: 7.953 kB / 1.102 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/1.764, allocations: 3.344 kB / 1.102 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.864e-06/1.764, allocations: 1.844 kB / 1.102 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/1.765, allocations: 460 kB / 1.102 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/1.765, allocations: 120.9 kB / 1.102 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.283e-05/1.765, allocations: 11.83 kB / 1.102 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/1.766, allocations: 14.83 kB / 1.102 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/1.766, allocations: 18.95 kB / 1.102 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/1.766, allocations: 7.797 kB / 1.102 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008183/1.767, allocations: 287.6 kB / 1.102 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.4e-07/1.767, allocations: 0 / 1.102 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00126/1.768, allocations: 132.2 kB / 1.103 GB, free: 11.69 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002178/1.77, allocations: 0.9983 MB / 1.104 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001651/1.772, allocations: 393.1 kB / 1.104 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/1.772, allocations: 1.984 kB / 1.104 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004045/1.772, allocations: 93.45 kB / 1.104 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/1.773, allocations: 76.88 kB / 1.104 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/1.784, allocations: 3.424 MB / 1.107 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008731/1.785, allocations: 0.7978 MB / 1.108 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000437/1.785, allocations: 42.14 kB / 1.108 GB, free: 7.746 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/1.786, allocations: 134.1 kB / 1.108 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of SimCode: time 1.904e-06/1.786, allocations: 1.125 kB / 1.108 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09101/1.877, allocations: 6.851 MB / 1.115 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.81/16.69, allocations: 9.297 kB / 1.115 GB, free: 6.922 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches