Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.415/1.415, allocations: 249.3 MB / 261.8 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 182.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000774/0.000774, allocations: 86.53 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.687e-05/2.698e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1685, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5566/0.7252, allocations: 136.8 MB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.7254, allocations: 90.86 kB / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02455/0.75, allocations: 9.962 MB / 1.035 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.262e-06/0.75, allocations: 0 / 1.035 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.282e-05/0.7501, allocations: 8 kB / 1.035 GB, free: 5.387 MB / 0.6511 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.0005869/0.7506, allocations: 0.5605 MB / 1.036 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.7507, allocations: 12.03 kB / 1.036 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.909e-05/0.7508, allocations: 51.36 kB / 1.036 GB, free: 4.738 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004719/0.7513, allocations: 331.5 kB / 1.036 GB, free: 4.398 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.7513, allocations: 4 kB / 1.036 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.7513, allocations: 11.67 kB / 1.036 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.7515, allocations: 67.67 kB / 1.036 GB, free: 4.328 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.7515, allocations: 0 / 1.036 GB, free: 4.328 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.7516, allocations: 11.19 kB / 1.036 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.7516, allocations: 0 / 1.036 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.514e-05/0.7517, allocations: 34.42 kB / 1.036 GB, free: 4.297 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007085/0.7524, allocations: 473.5 kB / 1.037 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.7525, allocations: 67.56 kB / 1.037 GB, free: 3.797 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.933e-05/0.7526, allocations: 20.05 kB / 1.037 GB, free: 3.781 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.7526, allocations: 7.938 kB / 1.037 GB, free: 3.773 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.7528, allocations: 78.12 kB / 1.037 GB, free: 3.695 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.7528, allocations: 0 / 1.037 GB, free: 3.695 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0002985/0.7531, allocations: 126.9 kB / 1.037 GB, free: 3.578 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.7532, allocations: 55.41 kB / 1.037 GB, free: 3.512 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005297/0.7537, allocations: 472.2 kB / 1.037 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.7538, allocations: 29.33 kB / 1.037 GB, free: 3.105 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.7539, allocations: 214.9 kB / 1.038 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.754, allocations: 18.8 kB / 1.038 GB, free: 2.965 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-06/0.754, allocations: 0 / 1.038 GB, free: 2.965 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.7541, allocations: 353.9 kB / 1.038 GB, free: 2.629 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.865e-05/0.7542, allocations: 57.67 kB / 1.038 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.7544, allocations: 91.14 kB / 1.038 GB, free: 2.516 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.838e-05/0.7545, allocations: 58.48 kB / 1.038 GB, free: 2.477 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7545, allocations: 0 / 1.038 GB, free: 2.477 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002966/0.7548, allocations: 205.7 kB / 1.038 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.7548, allocations: 4 kB / 1.038 GB, free: 2.305 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.7548, allocations: 0 / 1.038 GB, free: 2.305 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.7548, allocations: 0 / 1.038 GB, free: 2.305 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.755, allocations: 24.05 kB / 1.038 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.755, allocations: 7.953 kB / 1.038 GB, free: 2.273 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.7551, allocations: 27.64 kB / 1.038 GB, free: 2.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.7551, allocations: 4 kB / 1.038 GB, free: 2.246 MB / 0.6511 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 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.922e-05/0.7552, allocations: 119.2 kB / 1.039 GB, free: 2.129 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.7553, allocations: 43.52 kB / 1.039 GB, free: 2.086 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.7555, allocations: 130 kB / 1.039 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.7555, allocations: 4 kB / 1.039 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.7556, allocations: 0 / 1.039 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.7556, allocations: 7.953 kB / 1.039 GB, free: 1.965 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.7558, allocations: 303.1 kB / 1.039 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7558, allocations: 3.938 kB / 1.039 GB, free: 1.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/0.7559, allocations: 8.047 kB / 1.039 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.7559, allocations: 3.938 kB / 1.039 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.7559, allocations: 3.312 kB / 1.039 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7559, allocations: 0 / 1.039 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7559, allocations: 0 / 1.039 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.7561, allocations: 157 kB / 1.039 GB, free: 1.492 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-05/0.7562, allocations: 115.8 kB / 1.039 GB, free: 1.363 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.7562, allocations: 4 kB / 1.039 GB, free: 1.359 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.985e-05/0.7563, allocations: 11.42 kB / 1.039 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.7564, allocations: 7.984 kB / 1.039 GB, free: 1.344 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.7564, allocations: 4 kB / 1.039 GB, free: 1.34 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003368/0.7567, allocations: 356.1 kB / 1.04 GB, free: 1.062 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7567, allocations: 4 kB / 1.04 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002553/0.757, allocations: 55.12 kB / 1.04 GB, free: 1.012 MB / 0.6511 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009112/0.7579, allocations: 406 kB / 1.04 GB, free: 0.707 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001818/0.7581, allocations: 98.61 kB / 1.04 GB, free: 0.6367 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.7581, allocations: 0 / 1.04 GB, free: 0.6367 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.682e-05/0.7582, allocations: 30.23 kB / 1.04 GB, free: 0.6172 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.7585, allocations: 53.7 kB / 1.04 GB, free: 0.582 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006674/0.7592, allocations: 452.6 kB / 1.041 GB, free: 164 kB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.7596, allocations: 0.8215 MB / 1.042 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 8.167e-05/0.7597, allocations: 29.31 kB / 1.042 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.7597, allocations: 18.88 kB / 1.042 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of SimCode: time 2.41e-07/0.7597, allocations: 4 kB / 1.042 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of Templates: time 0.006379/0.7661, allocations: 3.099 MB / 1.045 GB, free: 12.2 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches