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.001007/0.001007, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001035/0.001035, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9485/0.9485, allocations: 177.1 MB / 204.2 MB, free: 5.047 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.929/1.929, allocations: 377.9 MB / 0.6236 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 1.703e-06/1.703e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.252e-05, allocations: 4.984 kB / 0.8116 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003807/0.003829, allocations: 2.244 MB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002176/0.006005, allocations: 1.502 MB / 0.8152 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.006128, allocations: 0 / 0.8152 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005139/0.006642, allocations: 171.9 kB / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.006991, allocations: 187.5 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.00723, allocations: 112.3 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.007493, allocations: 255.5 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.007619, allocations: 24.56 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.007761, allocations: 129.3 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.007888, allocations: 91.72 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.007912, allocations: 8 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.008032, allocations: 55.86 kB / 0.8162 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.514e-05/0.008117, allocations: 100.1 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.257e-05/0.00819, allocations: 68.31 kB / 0.8164 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.008482, allocations: 247 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.008484, allocations: 0.7812 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.41e-07/0.008485, allocations: 0 / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.008489, allocations: 1.156 kB / 0.8166 GB, free: 12.59 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.0006974/0.009186, allocations: 0.7319 MB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.009223, allocations: 17.39 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.13e-05/0.009294, allocations: 52.61 kB / 0.8174 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.009599, allocations: 285 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.009619, allocations: 8.938 kB / 0.8177 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.009636, allocations: 4.375 kB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.009792, allocations: 109.4 kB / 0.8178 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.009805, allocations: 4 kB / 0.8178 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.009815, allocations: 0 / 0.8178 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.009824, allocations: 0.9688 kB / 0.8178 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.96e-05/0.009873, allocations: 19.98 kB / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005115/0.01038, allocations: 476.2 kB / 0.8182 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.0105, allocations: 57.38 kB / 0.8183 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.01053, allocations: 19.69 kB / 0.8183 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.01055, allocations: 0 / 0.8183 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.01067, allocations: 102.7 kB / 0.8184 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.01067, allocations: 2.781 kB / 0.8184 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0002343/0.0109, allocations: 121.3 kB / 0.8185 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.01093, allocations: 55.41 kB / 0.8186 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004187/0.01135, allocations: 0.5339 MB / 0.8191 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.01137, allocations: 25.7 kB / 0.8191 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.01156, allocations: 290.8 kB / 0.8194 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.01159, allocations: 15.84 kB / 0.8194 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.01166, allocations: 48.83 kB / 0.8195 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002317/0.0119, allocations: 0.5508 MB / 0.82 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.462e-05/0.01195, allocations: 19.98 kB / 0.82 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.965e-05/0.01203, allocations: 84.67 kB / 0.8201 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.783e-05/0.01212, allocations: 59.53 kB / 0.8202 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.01212, allocations: 0 / 0.8202 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002035/0.01233, allocations: 162.6 kB / 0.8203 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.01235, allocations: 7.281 kB / 0.8203 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.01235, allocations: 0 / 0.8203 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.01238, allocations: 1.094 kB / 0.8203 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.832e-05/0.01248, allocations: 23.98 kB / 0.8204 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.01249, allocations: 0 / 0.8204 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.399e-05/0.01255, allocations: 16.84 kB / 0.8204 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.01257, allocations: 4.594 kB / 0.8204 GB, free: 8.488 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 0.0001109/0.01268, allocations: 177.6 kB / 0.8205 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.017e-05/0.01272, allocations: 51.67 kB / 0.8206 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.01292, allocations: 121.6 kB / 0.8207 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01292, allocations: 0 / 0.8207 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.01293, allocations: 0 / 0.8207 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.01293, allocations: 112 / 0.8207 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.01317, allocations: 284.4 kB / 0.821 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.01317, allocations: 0 / 0.821 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.832e-05/0.0132, allocations: 15.94 kB / 0.821 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.0132, allocations: 0 / 0.821 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.01321, allocations: 1.531 kB / 0.821 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01321, allocations: 3.984 kB / 0.821 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01322, allocations: 0 / 0.821 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.01336, allocations: 148.1 kB / 0.8211 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.01341, allocations: 48.69 kB / 0.8212 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.01344, allocations: 4 kB / 0.8212 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.879e-05/0.01347, allocations: 5.125 kB / 0.8212 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.01354, allocations: 15.97 kB / 0.8212 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.01354, allocations: 0 / 0.8212 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002642/0.01381, allocations: 335.8 kB / 0.8215 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01381, allocations: 0 / 0.8215 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000216/0.01402, allocations: 47.92 kB / 0.8216 GB, free: 7.191 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.0009589/0.01498, allocations: 405.5 kB / 0.822 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001737/0.01516, allocations: 59.66 kB / 0.822 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01516, allocations: 0 / 0.822 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.253e-05/0.0152, allocations: 39.59 kB / 0.8221 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.01545, allocations: 60.84 kB / 0.8221 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008918/0.01635, allocations: 0.5743 MB / 0.8227 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.196e-05/0.01644, allocations: 119.8 kB / 0.8228 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.645e-05/0.0165, allocations: 29.77 kB / 0.8228 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.01655, allocations: 20.5 kB / 0.8228 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of SimCode: time 7.11e-07/0.01655, allocations: 0 / 0.8228 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of Templates: time 0.006087/0.02264, allocations: 3.051 MB / 0.8258 GB, free: 3 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.3509288360364735]