Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.005379/0.00538, allocations: 100.3 kB / 15.73 MB, free: 6.031 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.00112/0.00112, allocations: 190.9 kB / 16.67 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 1.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.872/2.872, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 60.09 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4324, allocations: 157.4 MB / 1.208 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.004898/0.4373, allocations: 2.203 MB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003201/0.4405, allocations: 1.528 MB / 1.211 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002725/0.4408, allocations: 8 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.4411, allocations: 59.2 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004415/0.4416, allocations: 91.08 kB / 1.212 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.4429, allocations: 303.9 kB / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009519/0.4438, allocations: 0.6487 MB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007281/0.4446, allocations: 361.7 kB / 1.213 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003577/0.4449, allocations: 227.2 kB / 1.213 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003788/0.4453, allocations: 258.7 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.4455, allocations: 72 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.4457, allocations: 87.97 kB / 1.213 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.4458, allocations: 131.5 kB / 1.214 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003515/0.4462, allocations: 294.6 kB / 1.214 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009921/0.4472, allocations: 0.7862 MB / 1.215 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4472, allocations: 0 / 1.215 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.549e-06/0.4472, allocations: 0 / 1.215 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.4472, allocations: 3.938 kB / 1.215 GB, free: 2.602 MB / 0.9669 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.001613/0.4488, allocations: 0.8222 MB / 1.215 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.4489, allocations: 8.625 kB / 1.215 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.4491, allocations: 68.12 kB / 1.215 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005895/0.4497, allocations: 351.8 kB / 1.216 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.092e-05/0.4497, allocations: 41.69 kB / 1.216 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.972e-05/0.4498, allocations: 56.38 kB / 1.216 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.4509, allocations: 0.5031 MB / 1.216 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.451, allocations: 192 / 1.216 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/0.451, allocations: 31.88 kB / 1.216 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.4511, allocations: 16 kB / 1.216 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008973/0.452, allocations: 356.7 kB / 1.217 GB, free: 264 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/0.4546, allocations: 1.442 MB / 1.218 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007325/0.4553, allocations: 285.4 kB / 1.218 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000542/0.4559, allocations: 183.5 kB / 1.219 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.166e-05/0.4559, allocations: 8 kB / 1.219 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004698/0.4564, allocations: 202.9 kB / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=34): time 2.134e-06/0.4564, allocations: 0 / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.001174/0.4576, allocations: 384.9 kB / 1.219 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.688e-05/0.4577, allocations: 81.11 kB / 1.219 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006336/0.4583, allocations: 417.5 kB / 1.22 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.4584, allocations: 33.7 kB / 1.22 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.4587, allocations: 275.8 kB / 1.22 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.4588, allocations: 110.4 kB / 1.22 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.459, allocations: 78.12 kB / 1.22 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.4592, allocations: 354.8 kB / 1.22 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004643/0.4597, allocations: 128.8 kB / 1.221 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004237/0.4601, allocations: 218.8 kB / 1.221 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007039/0.4609, allocations: 337.6 kB / 1.221 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4609, allocations: 3.938 kB / 1.221 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008706/0.4617, allocations: 474.9 kB / 1.222 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/0.4618, allocations: 47.44 kB / 1.222 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.4618, allocations: 0 / 1.222 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.94e-05/0.4619, allocations: 4 kB / 1.222 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.4622, allocations: 79.78 kB / 1.222 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.4622, allocations: 11.92 kB / 1.222 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/0.4626, allocations: 79.34 kB / 1.222 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/0.4626, allocations: 19.98 kB / 1.222 GB, free: 10.85 MB / 0.9825 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.0002023/0.4629, allocations: 169.8 kB / 1.222 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.4629, allocations: 39.53 kB / 1.222 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006798/0.4636, allocations: 327.8 kB / 1.222 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.4636, allocations: 4 kB / 1.222 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.4636, allocations: 3.938 kB / 1.222 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.4637, allocations: 3.984 kB / 1.222 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.4651, allocations: 0.9707 MB / 1.223 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.4651, allocations: 4 kB / 1.223 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.4653, allocations: 64.09 kB / 1.223 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/0.4653, allocations: 7.984 kB / 1.223 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.4654, allocations: 8 kB / 1.223 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/0.4654, allocations: 7.938 kB / 1.223 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4654, allocations: 0 / 1.223 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000659/0.466, allocations: 0.5169 MB / 1.224 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.4662, allocations: 124.6 kB / 1.224 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.4662, allocations: 8 kB / 1.224 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.4665, allocations: 19.98 kB / 1.224 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.947e-05/0.4665, allocations: 27.97 kB / 1.224 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.4666, allocations: 11.94 kB / 1.224 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002903/0.4669, allocations: 287.2 kB / 1.224 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4669, allocations: 0 / 1.224 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006333/0.4675, allocations: 107.7 kB / 1.224 GB, free: 8.023 MB / 0.9825 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.0001965/0.4677, allocations: 127.1 kB / 1.225 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007303/0.4685, allocations: 383 kB / 1.225 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.4685, allocations: 4 kB / 1.225 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000271/0.4687, allocations: 139.8 kB / 1.225 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005809/0.4693, allocations: 62.28 kB / 1.225 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.4707, allocations: 0.7313 MB / 1.226 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.4712, allocations: 0.8237 MB / 1.227 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001665/0.4713, allocations: 43.27 kB / 1.227 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.629e-05/0.4714, allocations: 35.42 kB / 1.227 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.4714, allocations: 3.938 kB / 1.227 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of Templates: time 0.01007/0.4815, allocations: 4.115 MB / 1.231 GB, free: 1.543 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches