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.001061/0.001061, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001661/0.001661, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.008/1.008, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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 1.898/1.898, allocations: 377.9 MB / 0.6239 GB, free: 8.426 MB / 0.5886 GB " [Timeout remaining time 178] 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.976e-06/2.976e-06, allocations: 0 / 0.812 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/3.114e-05, allocations: 3.312 kB / 0.812 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002603/0.002635, allocations: 1.971 MB / 0.8139 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.004713, allocations: 1.596 MB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.004952, allocations: 9.344 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.005056, allocations: 59.2 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.005319, allocations: 100.5 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006739/0.005993, allocations: 307.4 kB / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005759/0.006569, allocations: 0.6544 MB / 0.8166 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003391/0.006908, allocations: 242.4 kB / 0.8168 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003371/0.007245, allocations: 363.3 kB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.007436, allocations: 183.4 kB / 0.8173 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.498e-05/0.007511, allocations: 68 kB / 0.8174 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.00764, allocations: 96.56 kB / 0.8175 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.601e-05/0.007716, allocations: 135.4 kB / 0.8176 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.007859, allocations: 196 kB / 0.8178 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004742/0.008333, allocations: 466.9 kB / 0.8182 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.008338, allocations: 0 / 0.8182 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.153e-06/0.008339, allocations: 0.5312 kB / 0.8182 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.008347, allocations: 3.938 kB / 0.8182 GB, free: 10.95 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.001218/0.009564, allocations: 0.8503 MB / 0.8191 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.009614, allocations: 8.031 kB / 0.8191 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002202/0.009834, allocations: 113.9 kB / 0.8192 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.0101, allocations: 287.2 kB / 0.8194 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.01014, allocations: 45.69 kB / 0.8195 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.01019, allocations: 61.52 kB / 0.8195 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.01057, allocations: 381.6 kB / 0.8199 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.01058, allocations: 8.125 kB / 0.8199 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.01061, allocations: 21.75 kB / 0.8199 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.01062, allocations: 12.38 kB / 0.82 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.01078, allocations: 153 kB / 0.8201 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.01195, allocations: 1.176 MB / 0.8212 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.0122, allocations: 198.4 kB / 0.8214 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.01234, allocations: 117.2 kB / 0.8215 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.01237, allocations: 9.219 kB / 0.8216 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.01254, allocations: 154.2 kB / 0.8217 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=34): time 2.204e-06/0.01254, allocations: 0 / 0.8217 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34): time 0.0003044/0.01285, allocations: 247.8 kB / 0.8219 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.01289, allocations: 81.11 kB / 0.822 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.01309, allocations: 312.1 kB / 0.8223 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.01312, allocations: 33.7 kB / 0.8223 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.01327, allocations: 327.4 kB / 0.8227 GB, free: 6.191 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.731e-05/0.01333, allocations: 125.5 kB / 0.8228 GB, free: 6.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.976e-05/0.01343, allocations: 91.7 kB / 0.8229 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.01357, allocations: 0.5117 MB / 0.8234 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.731e-05/0.01367, allocations: 90.64 kB / 0.8235 GB, free: 5.352 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.0138, allocations: 180.1 kB / 0.8236 GB, free: 5.137 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.014, allocations: 234.1 kB / 0.8238 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.014, allocations: 0 / 0.8238 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003535/0.01436, allocations: 365.3 kB / 0.8242 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.01439, allocations: 41.69 kB / 0.8242 GB, free: 4.453 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.0144, allocations: 0.7812 kB / 0.8242 GB, free: 4.453 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.01441, allocations: 4 kB / 0.8242 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.01459, allocations: 76.56 kB / 0.8243 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01459, allocations: 7.125 kB / 0.8243 GB, free: 4.371 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.01472, allocations: 59.64 kB / 0.8244 GB, free: 4.312 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.01475, allocations: 15.98 kB / 0.8244 GB, free: 4.297 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.0001277/0.01487, allocations: 184.4 kB / 0.8246 GB, free: 4.105 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.01491, allocations: 43.8 kB / 0.8246 GB, free: 4.062 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.01518, allocations: 207.6 kB / 0.8248 GB, free: 3.855 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.01518, allocations: 6.406 kB / 0.8248 GB, free: 3.852 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.01519, allocations: 0 / 0.8248 GB, free: 3.852 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.01519, allocations: 4 kB / 0.8248 GB, free: 3.848 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008973/0.01609, allocations: 0.7551 MB / 0.8256 GB, free: 3.035 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.01609, allocations: 0 / 0.8256 GB, free: 3.035 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.01621, allocations: 60.98 kB / 0.8256 GB, free: 2.977 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.01622, allocations: 4 kB / 0.8256 GB, free: 2.973 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.01623, allocations: 11.98 kB / 0.8256 GB, free: 2.961 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.01624, allocations: 5.125 kB / 0.8256 GB, free: 2.957 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01624, allocations: 3.938 kB / 0.8256 GB, free: 2.953 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.01655, allocations: 0.5168 MB / 0.8261 GB, free: 2.391 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.01658, allocations: 43.69 kB / 0.8262 GB, free: 2.348 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.0166, allocations: 8 kB / 0.8262 GB, free: 2.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.039e-05/0.01669, allocations: 8.969 kB / 0.8262 GB, free: 2.332 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.01674, allocations: 31.89 kB / 0.8262 GB, free: 2.301 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.01675, allocations: 7.984 kB / 0.8262 GB, free: 2.293 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.424e-05/0.01684, allocations: 202.8 kB / 0.8264 GB, free: 2.094 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01684, allocations: 0 / 0.8264 GB, free: 2.094 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002807/0.01712, allocations: 123.6 kB / 0.8265 GB, free: 1.973 MB / 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.0001504/0.01727, allocations: 115.6 kB / 0.8267 GB, free: 1.848 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000282/0.01756, allocations: 288.7 kB / 0.8269 GB, free: 1.547 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.01756, allocations: 0.6875 kB / 0.8269 GB, free: 1.547 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.267e-05/0.01764, allocations: 92.8 kB / 0.827 GB, free: 1.453 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.01799, allocations: 55.77 kB / 0.8271 GB, free: 1.402 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.019, allocations: 0.7254 MB / 0.8278 GB, free: 0.6133 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.713e-05/0.01907, allocations: 109.3 kB / 0.8279 GB, free: 500 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.593e-05/0.01916, allocations: 32.72 kB / 0.8279 GB, free: 472 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.01931, allocations: 138.2 kB / 0.8281 GB, free: 332 kB / 0.7761 GB Notification: Performance of SimCode: time 8.22e-07/0.01931, allocations: 0 / 0.8281 GB, free: 332 kB / 0.7761 GB Notification: Performance of Templates: time 0.006206/0.02552, allocations: 3.681 MB / 0.8316 GB, free: 12.73 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.178569610696286]