Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001791/0.001791, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002458/0.002458, allocations: 195 kB / 16.14 MB, free: 6.711 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.506/1.506, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.671/2.671, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.89 kB / 0.8685 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6667/0.668, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003442/0.6715, allocations: 2.24 MB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002233/0.6737, allocations: 1.517 MB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003515/0.6741, allocations: 12 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.6743, allocations: 35.58 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.6747, allocations: 63.47 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000675/0.6754, allocations: 269 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006148/0.676, allocations: 0.5785 MB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005195/0.6765, allocations: 357.7 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002934/0.6768, allocations: 191.2 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000321/0.6771, allocations: 234.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.6773, allocations: 36 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.6774, allocations: 47.98 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.6775, allocations: 95.61 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.6778, allocations: 258.5 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006885/0.6785, allocations: 0.7338 MB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.6786, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6786, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.916e-05/0.6786, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 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.001264/0.6799, allocations: 0.8207 MB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.6799, allocations: 12.03 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.68, allocations: 56.28 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.6805, allocations: 355.6 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.622e-05/0.6805, allocations: 45.67 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.781e-05/0.6806, allocations: 64.38 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008343/0.6814, allocations: 0.5031 MB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.6815, allocations: 192 / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.6815, allocations: 27.92 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.6815, allocations: 12 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007043/0.6822, allocations: 356.7 kB / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.6843, allocations: 1.461 MB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005495/0.6848, allocations: 289.3 kB / 1.027 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003767/0.6852, allocations: 173.6 kB / 1.027 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.6852, allocations: 11.94 kB / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004037/0.6857, allocations: 210.8 kB / 1.027 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.6857, allocations: 0 / 1.027 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0008173/0.6865, allocations: 392.3 kB / 1.028 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.6866, allocations: 88.98 kB / 1.028 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004201/0.687, allocations: 409.6 kB / 1.028 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.687, allocations: 37.7 kB / 1.028 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.6872, allocations: 267.8 kB / 1.028 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.656e-05/0.6873, allocations: 106.5 kB / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.6875, allocations: 90.02 kB / 1.029 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.6876, allocations: 350.8 kB / 1.029 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/0.6879, allocations: 132.8 kB / 1.029 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.6882, allocations: 207.1 kB / 1.029 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005509/0.6888, allocations: 344.2 kB / 1.03 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.6888, allocations: 0 / 1.03 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008374/0.6896, allocations: 476.2 kB / 1.03 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.622e-05/0.6897, allocations: 39.89 kB / 1.03 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.6897, allocations: 0 / 1.03 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.6897, allocations: 4 kB / 1.03 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.6901, allocations: 83.89 kB / 1.03 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.6901, allocations: 7.938 kB / 1.03 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.6905, allocations: 79.52 kB / 1.03 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.6905, allocations: 16 kB / 1.03 GB, free: 4.32 MB / 0.7794 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.0001831/0.6907, allocations: 170.2 kB / 1.031 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.6908, allocations: 43.44 kB / 1.031 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006307/0.6914, allocations: 336.9 kB / 1.031 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.6914, allocations: 4 kB / 1.031 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.6914, allocations: 3.938 kB / 1.031 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.6914, allocations: 0 / 1.031 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.6926, allocations: 0.9668 MB / 1.032 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.6926, allocations: 4 kB / 1.032 GB, free: 2.711 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.6928, allocations: 55.91 kB / 1.032 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.6929, allocations: 4 kB / 1.032 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.6929, allocations: 8 kB / 1.032 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.6929, allocations: 7.984 kB / 1.032 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.6929, allocations: 8.188 kB / 1.032 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000612/0.6935, allocations: 0.506 MB / 1.032 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.6936, allocations: 128.5 kB / 1.033 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.6937, allocations: 15.92 kB / 1.033 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.6939, allocations: 12 kB / 1.033 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.592e-05/0.694, allocations: 27.91 kB / 1.033 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.694, allocations: 19.92 kB / 1.033 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000301/0.6943, allocations: 291.2 kB / 1.033 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6944, allocations: 0 / 1.033 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004539/0.6948, allocations: 107.7 kB / 1.033 GB, free: 1.484 MB / 0.7794 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.0001643/0.695, allocations: 119.1 kB / 1.033 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006974/0.6957, allocations: 379.4 kB / 1.033 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6957, allocations: 0 / 1.033 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000264/0.696, allocations: 135.8 kB / 1.034 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005919/0.6966, allocations: 65.95 kB / 1.034 GB, free: 0.7773 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.6979, allocations: 0.9191 MB / 1.035 GB, free: 15.81 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.6983, allocations: 0.8276 MB / 1.035 GB, free: 14.96 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000176/0.6985, allocations: 43.27 kB / 1.035 GB, free: 14.91 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.433e-05/0.6985, allocations: 31.44 kB / 1.035 GB, free: 14.88 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.6985, allocations: 0 / 1.035 GB, free: 14.88 MB / 0.795 GB Notification: Performance of Templates: time 0.007923/0.7065, allocations: 3.735 MB / 1.039 GB, free: 11.2 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches