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.0009825/0.0009825, 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.001073/0.001073, 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 0.9417/0.9417, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.861/1.861, allocations: 377.9 MB / 0.624 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.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.623e-06/1.623e-06, allocations: 0.7656 kB / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.096e-05, allocations: 6.25 kB / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002599/0.00262, allocations: 2.215 MB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.004304, allocations: 1.489 MB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.004422, allocations: 9.594 kB / 0.8157 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000471/0.004893, allocations: 167.4 kB / 0.8158 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.005197, allocations: 181.7 kB / 0.816 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.005381, allocations: 119.6 kB / 0.8161 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.005596, allocations: 246.9 kB / 0.8163 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.005709, allocations: 32.56 kB / 0.8164 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004984/0.006207, allocations: 163 kB / 0.8165 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.006323, allocations: 89.64 kB / 0.8166 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.006345, allocations: 8 kB / 0.8166 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.006446, allocations: 59.86 kB / 0.8167 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.115e-05/0.006517, allocations: 95.61 kB / 0.8168 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.006574, allocations: 59.73 kB / 0.8168 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.00685, allocations: 247.5 kB / 0.8171 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.006854, allocations: 5.906 kB / 0.8171 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.062e-06/0.006855, allocations: 3.938 kB / 0.8171 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.656e-06/0.006858, allocations: 0 / 0.8171 GB, free: 12.3 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.0005833/0.007442, allocations: 0.7357 MB / 0.8178 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.007474, allocations: 10.5 kB / 0.8178 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.997e-05/0.007524, allocations: 52.61 kB / 0.8178 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.007759, allocations: 288.9 kB / 0.8181 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.007776, allocations: 8.312 kB / 0.8181 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.007788, allocations: 8.375 kB / 0.8181 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.007914, allocations: 100.6 kB / 0.8182 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.007922, allocations: 5.094 kB / 0.8182 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.00793, allocations: 0 / 0.8182 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.007935, allocations: 0 / 0.8182 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.072e-05/0.007966, allocations: 15.98 kB / 0.8182 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.008334, allocations: 389.3 kB / 0.8186 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.267e-05/0.008427, allocations: 48.02 kB / 0.8187 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.1e-05/0.008448, allocations: 15.69 kB / 0.8187 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.008464, allocations: 7.641 kB / 0.8187 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001019/0.008566, allocations: 102.7 kB / 0.8188 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.008567, allocations: 0 / 0.8188 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001725/0.008739, allocations: 113.3 kB / 0.8189 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.008762, allocations: 59.41 kB / 0.819 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.009079, allocations: 0.5219 MB / 0.8195 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.009095, allocations: 25.7 kB / 0.8195 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.009239, allocations: 290.7 kB / 0.8198 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.00926, allocations: 19.83 kB / 0.8198 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.009313, allocations: 49.38 kB / 0.8198 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.009466, allocations: 0.5546 MB / 0.8204 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.249e-05/0.009498, allocations: 15.98 kB / 0.8204 GB, free: 8.695 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.536e-05/0.009554, allocations: 80.66 kB / 0.8205 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.451e-05/0.009618, allocations: 58.25 kB / 0.8205 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.00962, allocations: 0 / 0.8205 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001383/0.009759, allocations: 146.3 kB / 0.8207 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.00977, allocations: 9.719 kB / 0.8207 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.009775, allocations: 112 / 0.8207 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.009786, allocations: 5.062 kB / 0.8207 GB, free: 8.375 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.584e-05/0.009861, allocations: 23.98 kB / 0.8207 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.009865, allocations: 0 / 0.8207 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.195e-05/0.009917, allocations: 9.281 kB / 0.8207 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.00993, allocations: 11.94 kB / 0.8207 GB, free: 8.332 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.621e-05/0.01002, allocations: 175.6 kB / 0.8209 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.01005, allocations: 47.67 kB / 0.8209 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.01019, allocations: 111.4 kB / 0.821 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.01019, allocations: 0 / 0.821 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01019, allocations: 0 / 0.821 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01019, allocations: 7.922 kB / 0.821 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.01034, allocations: 210.4 kB / 0.8212 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.01034, allocations: 3.938 kB / 0.8212 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.035e-05/0.01036, allocations: 4 kB / 0.8213 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.01037, allocations: 0 / 0.8213 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-06/0.01037, allocations: 4.719 kB / 0.8213 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01037, allocations: 0 / 0.8213 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01037, allocations: 0.6562 kB / 0.8213 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.01049, allocations: 154.5 kB / 0.8214 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.01052, allocations: 43.55 kB / 0.8214 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.01055, allocations: 7.984 kB / 0.8215 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.788e-05/0.01059, allocations: 8 kB / 0.8215 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.01062, allocations: 7.984 kB / 0.8215 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.01063, allocations: 3.984 kB / 0.8215 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001554/0.01078, allocations: 324.5 kB / 0.8218 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01078, allocations: 0 / 0.8218 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001586/0.01094, allocations: 40 kB / 0.8218 GB, free: 7.148 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.0008274/0.01177, allocations: 400.6 kB / 0.8222 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.01188, allocations: 62.12 kB / 0.8223 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01188, allocations: 3.938 kB / 0.8223 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.289e-05/0.01192, allocations: 23.69 kB / 0.8223 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.01215, allocations: 61.53 kB / 0.8223 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007418/0.01289, allocations: 0.5628 MB / 0.8229 GB, free: 6.148 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.201e-05/0.01296, allocations: 123.8 kB / 0.823 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.99e-05/0.01301, allocations: 37.77 kB / 0.823 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.917e-05/0.01311, allocations: 110.2 kB / 0.8232 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of SimCode: time 1.011e-06/0.01311, allocations: 0 / 0.8232 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of Templates: time 0.005696/0.01881, allocations: 3.297 MB / 0.8264 GB, free: 2.633 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.979157388210297]