Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.000998/0.000998, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001041/0.001041, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.8774/0.8774, allocations: 177.2 MB / 204.2 MB, free: 5.582 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.826/1.826, allocations: 377.8 MB / 0.6236 GB, free: 8.535 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.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.[0-9,]+.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.[0-9,]+.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.75e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002628/0.002645, allocations: 2.245 MB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.004301, allocations: 1.497 MB / 0.8152 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.004426, allocations: 4.844 kB / 0.8152 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000497/0.004923, allocations: 175.8 kB / 0.8154 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003402/0.005264, allocations: 184.2 kB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.005473, allocations: 117.2 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000242/0.005715, allocations: 246.9 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.005831, allocations: 32.56 kB / 0.8159 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004424/0.006273, allocations: 162.2 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.006397, allocations: 80.42 kB / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.006421, allocations: 12.69 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.006523, allocations: 63.77 kB / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.637e-05/0.006599, allocations: 92.25 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.559e-05/0.006665, allocations: 67.72 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.006955, allocations: 244 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.006957, allocations: 0 / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.22e-07/0.006957, allocations: 0 / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.006962, allocations: 0.5312 kB / 0.8166 GB, free: 12.5 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006394/0.007601, allocations: 0.7449 MB / 0.8174 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.007636, allocations: 8.031 kB / 0.8174 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.905e-05/0.007705, allocations: 52.61 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.007957, allocations: 294 kB / 0.8177 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.007975, allocations: 4.359 kB / 0.8177 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.007988, allocations: 8.312 kB / 0.8177 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.008126, allocations: 105.2 kB / 0.8178 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.008134, allocations: 4.781 kB / 0.8178 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.008143, allocations: 0 / 0.8178 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.00815, allocations: 1.688 kB / 0.8178 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.44e-05/0.008194, allocations: 19.98 kB / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.008667, allocations: 471.3 kB / 0.8183 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.008772, allocations: 52.52 kB / 0.8183 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.059e-05/0.008803, allocations: 23.67 kB / 0.8184 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.008814, allocations: 0.75 kB / 0.8184 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.008934, allocations: 98.69 kB / 0.8185 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 2.314e-06/0.008936, allocations: 5.922 kB / 0.8185 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001955/0.009132, allocations: 125.5 kB / 0.8186 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.009158, allocations: 55.41 kB / 0.8186 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/0.009532, allocations: 0.5339 MB / 0.8192 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.009546, allocations: 25.7 kB / 0.8192 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.009687, allocations: 291.6 kB / 0.8195 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.009707, allocations: 19.83 kB / 0.8195 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.009755, allocations: 50.77 kB / 0.8195 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003333/0.01009, allocations: 0.5547 MB / 0.8201 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.734e-05/0.01013, allocations: 15.98 kB / 0.8201 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.218e-05/0.01019, allocations: 88.75 kB / 0.8202 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.767e-05/0.01026, allocations: 55.36 kB / 0.8202 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.01026, allocations: 0 / 0.8202 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001504/0.01041, allocations: 159.9 kB / 0.8204 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.01042, allocations: 6.188 kB / 0.8204 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.01042, allocations: 0 / 0.8204 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.01044, allocations: 0.5 kB / 0.8204 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.606e-05/0.01051, allocations: 29.58 kB / 0.8204 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.01052, allocations: 0 / 0.8204 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.006e-05/0.01058, allocations: 11.98 kB / 0.8204 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.01059, allocations: 7.984 kB / 0.8204 GB, free: 8.391 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 8.225e-05/0.01067, allocations: 171.1 kB / 0.8206 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.01071, allocations: 52.61 kB / 0.8206 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.01084, allocations: 113.6 kB / 0.8207 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.01085, allocations: 0 / 0.8207 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.01085, allocations: 0.6562 kB / 0.8207 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.01085, allocations: 1.812 kB / 0.8207 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.01103, allocations: 284.4 kB / 0.821 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01103, allocations: 7.922 kB / 0.821 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.577e-05/0.01105, allocations: 4 kB / 0.821 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.01105, allocations: 4 kB / 0.821 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.01106, allocations: 3.547 kB / 0.821 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01106, allocations: 3.938 kB / 0.821 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01106, allocations: 0 / 0.821 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.01117, allocations: 156.1 kB / 0.8212 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.0112, allocations: 43.61 kB / 0.8212 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.01123, allocations: 11.98 kB / 0.8212 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.693e-05/0.01127, allocations: 4 kB / 0.8212 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.0113, allocations: 7.984 kB / 0.8213 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.01131, allocations: 3.984 kB / 0.8213 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002749/0.01159, allocations: 335.7 kB / 0.8216 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01159, allocations: 3.938 kB / 0.8216 GB, free: 7.141 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001692/0.01176, allocations: 44 kB / 0.8216 GB, free: 7.098 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000795/0.01255, allocations: 404.8 kB / 0.822 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.01269, allocations: 67.59 kB / 0.8221 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01269, allocations: 0 / 0.8221 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.583e-05/0.01272, allocations: 23.67 kB / 0.8221 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.01295, allocations: 63.59 kB / 0.8222 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007196/0.01367, allocations: 0.5792 MB / 0.8227 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.823e-05/0.01373, allocations: 115.8 kB / 0.8228 GB, free: 5.957 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.067e-05/0.01378, allocations: 25.78 kB / 0.8229 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.01382, allocations: 28.48 kB / 0.8229 GB, free: 5.906 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.01382, allocations: 0 / 0.8229 GB, free: 5.906 MB / 0.7761 GB Notification: Performance of Templates: time 0.005742/0.01956, allocations: 3.238 MB / 0.826 GB, free: 2.727 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.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: 4.949130700901151]