Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002322/0.002322, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002613/0.002613, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.589/1.589, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.156/3.156, allocations: 377.9 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.976e-05/3.252e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.00422/0.004253, allocations: 2.009 MB / 0.8127 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003075/0.007328, allocations: 1.575 MB / 0.8143 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003612/0.007689, allocations: 8 kB / 0.8143 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.007845, allocations: 59.2 kB / 0.8143 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.008158, allocations: 100 kB / 0.8144 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008224/0.008981, allocations: 308.1 kB / 0.8147 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0008275/0.009808, allocations: 0.6447 MB / 0.8154 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004738/0.01028, allocations: 256 kB / 0.8156 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004933/0.01078, allocations: 355.3 kB / 0.8159 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.01107, allocations: 183.4 kB / 0.8161 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.01118, allocations: 72 kB / 0.8162 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.01137, allocations: 93.5 kB / 0.8163 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.01151, allocations: 131.5 kB / 0.8164 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002577/0.01176, allocations: 199.5 kB / 0.8166 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.01308, allocations: 0.8409 MB / 0.8174 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.01309, allocations: 1.75 kB / 0.8174 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.624e-06/0.01309, allocations: 0 / 0.8174 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.0131, allocations: 0 / 0.8174 GB, free: 11.33 MB / 0.7761 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.001466/0.01456, allocations: 0.8848 MB / 0.8183 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.01461, allocations: 12.03 kB / 0.8183 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003372/0.01494, allocations: 116.5 kB / 0.8184 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.01546, allocations: 305.1 kB / 0.8187 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.167e-05/0.01551, allocations: 43.06 kB / 0.8187 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.552e-05/0.0156, allocations: 56.38 kB / 0.8188 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009523/0.01655, allocations: 0.5205 MB / 0.8193 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.01657, allocations: 6.766 kB / 0.8193 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/0.01662, allocations: 24.38 kB / 0.8193 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.01664, allocations: 16.38 kB / 0.8193 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006906/0.01733, allocations: 337 kB / 0.8197 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002413/0.01974, allocations: 1.461 MB / 0.8211 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/0.02036, allocations: 287.9 kB / 0.8214 GB, free: 7.141 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004217/0.02078, allocations: 181.8 kB / 0.8215 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.024e-05/0.02083, allocations: 4.594 kB / 0.8215 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004268/0.02125, allocations: 232 kB / 0.8218 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=34): time 1.763e-06/0.02125, allocations: 0 / 0.8218 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34): time 0.0008421/0.0221, allocations: 373.1 kB / 0.8221 GB, free: 6.336 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.02217, allocations: 81.11 kB / 0.8222 GB, free: 6.238 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.0226, allocations: 384.2 kB / 0.8226 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.02264, allocations: 31.08 kB / 0.8226 GB, free: 5.812 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002984/0.02294, allocations: 351.4 kB / 0.8229 GB, free: 5.461 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.02307, allocations: 119 kB / 0.823 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.02326, allocations: 108.3 kB / 0.8231 GB, free: 5.227 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003141/0.02357, allocations: 0.5274 MB / 0.8237 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/0.0239, allocations: 163.8 kB / 0.8238 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007105/0.02461, allocations: 268.1 kB / 0.8241 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006307/0.02524, allocations: 368.8 kB / 0.8244 GB, free: 3.832 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.02524, allocations: 0 / 0.8244 GB, free: 3.832 MB / 0.7761 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009709/0.02621, allocations: 0.5145 MB / 0.8249 GB, free: 3.305 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/0.02627, allocations: 41.69 kB / 0.825 GB, free: 3.258 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.02628, allocations: 0 / 0.825 GB, free: 3.258 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.0263, allocations: 4 kB / 0.825 GB, free: 3.254 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.02662, allocations: 75.91 kB / 0.825 GB, free: 3.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.02663, allocations: 4 kB / 0.825 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.02693, allocations: 61.11 kB / 0.8251 GB, free: 3.117 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/0.02698, allocations: 16 kB / 0.8251 GB, free: 3.102 MB / 0.7761 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.0002562/0.02724, allocations: 220.9 kB / 0.8253 GB, free: 2.875 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.0273, allocations: 45.14 kB / 0.8254 GB, free: 2.832 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006402/0.02794, allocations: 310.4 kB / 0.8257 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.02795, allocations: 5.094 kB / 0.8257 GB, free: 2.527 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.02796, allocations: 4 kB / 0.8257 GB, free: 2.523 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.02796, allocations: 0 / 0.8257 GB, free: 2.523 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.02938, allocations: 1.011 MB / 0.8267 GB, free: 1.449 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.02938, allocations: 0 / 0.8267 GB, free: 1.449 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.02962, allocations: 59.91 kB / 0.8267 GB, free: 1.391 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.02963, allocations: 4 kB / 0.8267 GB, free: 1.387 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.02965, allocations: 8 kB / 0.8267 GB, free: 1.379 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.02966, allocations: 11.88 kB / 0.8267 GB, free: 1.367 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.02966, allocations: 3.984 kB / 0.8267 GB, free: 1.363 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008079/0.03047, allocations: 0.6123 MB / 0.8273 GB, free: 0.7031 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.985e-05/0.03054, allocations: 45.16 kB / 0.8274 GB, free: 0.6602 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.03058, allocations: 8 kB / 0.8274 GB, free: 0.6523 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.03077, allocations: 15.94 kB / 0.8274 GB, free: 0.6367 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.03085, allocations: 27.89 kB / 0.8274 GB, free: 0.6094 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.03087, allocations: 9.031 kB / 0.8274 GB, free: 0.6016 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002764/0.03115, allocations: 257.1 kB / 0.8277 GB, free: 356 kB / 0.7761 GB Notification: Performance of sort global known variables: time 8.1e-08/0.03115, allocations: 1.125 kB / 0.8277 GB, free: 356 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005131/0.03166, allocations: 119.6 kB / 0.8278 GB, free: 236 kB / 0.7761 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.0002191/0.03188, allocations: 125.1 kB / 0.8279 GB, free: 100 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008184/0.0327, allocations: 433.3 kB / 0.8283 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.0327, allocations: 0.7188 kB / 0.8283 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.03298, allocations: 140.9 kB / 0.8285 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.0335, allocations: 55.16 kB / 0.8285 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.03496, allocations: 0.774 MB / 0.8293 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.03521, allocations: 218.7 kB / 0.8295 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001309/0.03534, allocations: 38.89 kB / 0.8295 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.3e-05/0.03541, allocations: 24.5 kB / 0.8295 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of SimCode: time 5.91e-07/0.03542, allocations: 4 kB / 0.8296 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of Templates: time 0.009298/0.04471, allocations: 3.358 MB / 0.8328 GB, free: 11.05 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.435333529021591]