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.001546/0.001546, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001925/0.001925, allocations: 169 kB / 24.28 MB, free: 276 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.034/1.034, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.928/1.928, allocations: 377.8 MB / 0.6239 GB, free: 8.578 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.123e-06/2.123e-06, allocations: 0 / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.153e-05/3.365e-05, allocations: 3.594 kB / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003815/0.003848, allocations: 2.241 MB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002091/0.005939, allocations: 1.489 MB / 0.8152 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.006115, allocations: 4 kB / 0.8152 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005926/0.006707, allocations: 176.2 kB / 0.8154 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000431/0.007138, allocations: 185 kB / 0.8155 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.007446, allocations: 111.6 kB / 0.8156 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003017/0.007748, allocations: 250.9 kB / 0.8159 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.00789, allocations: 28.56 kB / 0.8159 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.008053, allocations: 132.8 kB / 0.816 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.008188, allocations: 83.73 kB / 0.8161 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.008217, allocations: 12.53 kB / 0.8161 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.008345, allocations: 59.83 kB / 0.8162 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.178e-05/0.008437, allocations: 96.16 kB / 0.8163 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.655e-05/0.008513, allocations: 68.62 kB / 0.8163 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.008845, allocations: 243 kB / 0.8166 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.008849, allocations: 0 / 0.8166 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.182e-06/0.00885, allocations: 0.7812 kB / 0.8166 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.008859, allocations: 0 / 0.8166 GB, free: 12.91 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.0007679/0.009627, allocations: 0.7415 MB / 0.8173 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.009663, allocations: 8.031 kB / 0.8173 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.7e-05/0.00975, allocations: 52.61 kB / 0.8174 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.01009, allocations: 289 kB / 0.8176 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.01011, allocations: 9.531 kB / 0.8176 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.01012, allocations: 4.375 kB / 0.8176 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.01029, allocations: 112.3 kB / 0.8177 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.01029, allocations: 0.8438 kB / 0.8177 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.0103, allocations: 0 / 0.8177 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.01031, allocations: 0.5312 kB / 0.8178 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.93e-05/0.01036, allocations: 16.89 kB / 0.8178 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00054/0.0109, allocations: 475.4 kB / 0.8182 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.01103, allocations: 52.12 kB / 0.8183 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.511e-05/0.01107, allocations: 28.89 kB / 0.8183 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.01108, allocations: 3.984 kB / 0.8183 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/0.01121, allocations: 99.44 kB / 0.8184 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.01121, allocations: 0 / 0.8184 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0002242/0.01144, allocations: 122.2 kB / 0.8185 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.01147, allocations: 59.39 kB / 0.8186 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003828/0.01185, allocations: 0.5354 MB / 0.8191 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.01188, allocations: 29.7 kB / 0.8191 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.01203, allocations: 286.8 kB / 0.8194 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.01205, allocations: 19.84 kB / 0.8194 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.01211, allocations: 40.45 kB / 0.8195 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.01227, allocations: 0.5547 MB / 0.82 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.822e-05/0.01232, allocations: 19.98 kB / 0.82 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.62e-05/0.01238, allocations: 83.94 kB / 0.8201 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.117e-05/0.01247, allocations: 62.14 kB / 0.8202 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01247, allocations: 0 / 0.8202 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001767/0.01264, allocations: 157.3 kB / 0.8203 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.01266, allocations: 4 kB / 0.8203 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01266, allocations: 0 / 0.8203 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.01268, allocations: 7.984 kB / 0.8203 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.855e-05/0.01277, allocations: 16.5 kB / 0.8203 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.01277, allocations: 1.312 kB / 0.8203 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.555e-05/0.01284, allocations: 19.92 kB / 0.8203 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.01285, allocations: 4 kB / 0.8204 GB, free: 8.809 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 9.257e-05/0.01295, allocations: 169.5 kB / 0.8205 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.01298, allocations: 51.66 kB / 0.8206 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.01314, allocations: 118.3 kB / 0.8207 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01315, allocations: 0 / 0.8207 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.01315, allocations: 2.375 kB / 0.8207 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.01315, allocations: 3.984 kB / 0.8207 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.01335, allocations: 280.5 kB / 0.8209 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01335, allocations: 0 / 0.8209 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.319e-05/0.01337, allocations: 11.94 kB / 0.821 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01338, allocations: 0 / 0.821 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.01339, allocations: 7.031 kB / 0.821 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.01339, allocations: 0 / 0.821 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01339, allocations: 3.938 kB / 0.821 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.01351, allocations: 152.1 kB / 0.8211 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.01355, allocations: 51.66 kB / 0.8212 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.01358, allocations: 0 / 0.8212 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.258e-05/0.01362, allocations: 4 kB / 0.8212 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.01367, allocations: 19.95 kB / 0.8212 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.01368, allocations: 4.875 kB / 0.8212 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002259/0.0139, allocations: 330.8 kB / 0.8215 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01391, allocations: 0 / 0.8215 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001997/0.0141, allocations: 45.06 kB / 0.8216 GB, free: 7.516 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.0009145/0.01502, allocations: 406.3 kB / 0.8219 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.01518, allocations: 66.59 kB / 0.822 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01518, allocations: 0 / 0.822 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.257e-05/0.01523, allocations: 35.61 kB / 0.822 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.01549, allocations: 66.28 kB / 0.8221 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008829/0.01637, allocations: 0.5705 MB / 0.8227 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.178e-05/0.01645, allocations: 119.8 kB / 0.8228 GB, free: 6.359 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.906e-05/0.01651, allocations: 21.78 kB / 0.8228 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.651e-05/0.01655, allocations: 24.48 kB / 0.8228 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of SimCode: time 1.122e-06/0.01655, allocations: 0 / 0.8228 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of Templates: time 0.006241/0.02279, allocations: 3.05 MB / 0.8258 GB, free: 3.332 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: 5.3085466949269176]