Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.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: translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.007236/0.007236, allocations: 170.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.518/2.518, allocations: 390.9 MB / 0.6663 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004325, allocations: 11.98 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8558/0.8563, allocations: 142.4 MB / 0.955 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.00231/0.8587, allocations: 1.847 MB / 0.9569 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002572/0.8613, allocations: 1.501 MB / 0.9583 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/0.8615, allocations: 7.938 kB / 0.9583 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.928e-05/0.8617, allocations: 39.58 kB / 0.9584 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003072/0.862, allocations: 60.02 kB / 0.9584 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007813/0.8628, allocations: 271.3 kB / 0.9587 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005209/0.8633, allocations: 0.573 MB / 0.9592 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004799/0.8638, allocations: 350.5 kB / 0.9596 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.864, allocations: 146.4 kB / 0.9597 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.8642, allocations: 169.7 kB / 0.9599 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.965e-05/0.8643, allocations: 19.06 kB / 0.9599 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.8644, allocations: 37.92 kB / 0.9599 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.8645, allocations: 64.14 kB / 0.96 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.8647, allocations: 239.4 kB / 0.9602 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006591/0.8654, allocations: 0.7057 MB / 0.9609 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.8654, allocations: 0 / 0.9609 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8654, allocations: 0 / 0.9609 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.8654, allocations: 0 / 0.9609 GB, free: 3.324 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001143/0.8666, allocations: 0.7129 MB / 0.9616 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.8667, allocations: 10 kB / 0.9616 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.8668, allocations: 62.03 kB / 0.9617 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.8672, allocations: 356.3 kB / 0.962 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.067e-05/0.8673, allocations: 45.22 kB / 0.9621 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.8674, allocations: 59.11 kB / 0.9621 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.8685, allocations: 0.5151 MB / 0.9626 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.8685, allocations: 4.188 kB / 0.9626 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.8686, allocations: 28.5 kB / 0.9626 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.162e-05/0.8686, allocations: 13.56 kB / 0.9627 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007483/0.8694, allocations: 366.9 kB / 0.963 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.8714, allocations: 1.461 MB / 0.9644 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005957/0.872, allocations: 298.5 kB / 0.9647 GB, free: 456 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004135/0.8724, allocations: 185.9 kB / 0.9649 GB, free: 364 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.761e-05/0.8725, allocations: 7.719 kB / 0.9649 GB, free: 360 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003885/0.8729, allocations: 203.1 kB / 0.9651 GB, free: 212 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/0.8729, allocations: 0 / 0.9651 GB, free: 212 kB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.0009075/0.8738, allocations: 411.3 kB / 0.9655 GB, free: 8 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.638e-05/0.8739, allocations: 81.3 kB / 0.9656 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005232/0.8744, allocations: 412 kB / 0.966 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.8745, allocations: 37.3 kB / 0.966 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.8747, allocations: 276 kB / 0.9663 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.568e-05/0.8748, allocations: 103.3 kB / 0.9664 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-05/0.8749, allocations: 43.59 kB / 0.9664 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.875, allocations: 348.2 kB / 0.9667 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.8754, allocations: 136.6 kB / 0.9669 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000367/0.8758, allocations: 217.2 kB / 0.9671 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006547/0.8764, allocations: 357.2 kB / 0.9674 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.8764, allocations: 5 kB / 0.9674 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009383/0.8774, allocations: 476.7 kB / 0.9679 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/0.8774, allocations: 37.91 kB / 0.9679 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.8775, allocations: 5.812 kB / 0.9679 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.8775, allocations: 4.312 kB / 0.9679 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/0.8778, allocations: 87.36 kB / 0.968 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.8779, allocations: 11.2 kB / 0.968 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/0.8783, allocations: 93.94 kB / 0.9681 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.8784, allocations: 20.55 kB / 0.9681 GB, free: 14.07 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.0002156/0.8786, allocations: 166 kB / 0.9683 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.8787, allocations: 38.16 kB / 0.9683 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007586/0.8794, allocations: 340.2 kB / 0.9686 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.8794, allocations: 7.453 kB / 0.9686 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.8795, allocations: 8.625 kB / 0.9687 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.8795, allocations: 4.953 kB / 0.9687 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.8809, allocations: 0.9836 MB / 0.9696 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.8809, allocations: 5.188 kB / 0.9696 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.8812, allocations: 68.12 kB / 0.9697 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.8812, allocations: 3.562 kB / 0.9697 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.8812, allocations: 7.562 kB / 0.9697 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.8812, allocations: 3.719 kB / 0.9697 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.8812, allocations: 6.656 kB / 0.9697 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007139/0.882, allocations: 0.531 MB / 0.9702 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.8821, allocations: 126.1 kB / 0.9703 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.8821, allocations: 15.83 kB / 0.9704 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.8824, allocations: 12.75 kB / 0.9704 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.8824, allocations: 23.44 kB / 0.9704 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.8825, allocations: 12.09 kB / 0.9704 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003282/0.8828, allocations: 292.3 kB / 0.9707 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8828, allocations: 0 / 0.9707 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004909/0.8833, allocations: 112.6 kB / 0.9708 GB, free: 12.09 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000179/0.8835, allocations: 109.5 kB / 0.9709 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007949/0.8843, allocations: 397.2 kB / 0.9713 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8843, allocations: 0 / 0.9713 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003861/0.8847, allocations: 152.2 kB / 0.9714 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007599/0.8855, allocations: 62.14 kB / 0.9715 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.8871, allocations: 0.9296 MB / 0.9724 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.8876, allocations: 0.8298 MB / 0.9732 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001831/0.8878, allocations: 46.55 kB / 0.9732 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.781e-05/0.8879, allocations: 34.59 kB / 0.9733 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of SimCode: time 5.81e-07/0.8879, allocations: 0 / 0.9733 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of Templates: time 0.009428/0.8974, allocations: 3.703 MB / 0.9769 GB, free: 8.383 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches