Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 113.5 kB / 16.42 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001489, allocations: 186.6 kB / 17.35 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.533/2.533, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 63.89 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9383/0.9399, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004252/0.9442, allocations: 2.187 MB / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002384/0.9466, allocations: 1.37 MB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.9468, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006712/0.9475, allocations: 183.4 kB / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000456/0.948, allocations: 131.3 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.9485, allocations: 147.6 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004053/0.9489, allocations: 231.1 kB / 1.213 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.9491, allocations: 44.05 kB / 1.213 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.9493, allocations: 103.5 kB / 1.213 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.9495, allocations: 91.56 kB / 1.213 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.147e-05/0.9496, allocations: 12 kB / 1.213 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.9497, allocations: 47.97 kB / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.9499, allocations: 95.55 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.95, allocations: 139 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004542/0.9505, allocations: 356.7 kB / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.9505, allocations: 0 / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9505, allocations: 4 kB / 1.213 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.9505, allocations: 0 / 1.213 GB, free: 8.543 MB / 0.9356 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.001118/0.9516, allocations: 0.6763 MB / 1.214 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.9517, allocations: 12.03 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.9518, allocations: 44.38 kB / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/0.9523, allocations: 352.3 kB / 1.214 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.9523, allocations: 4.375 kB / 1.214 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.9524, allocations: 15.94 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.9526, allocations: 69.66 kB / 1.215 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.9526, allocations: 4 kB / 1.215 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.9526, allocations: 4 kB / 1.215 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.9526, allocations: 3.938 kB / 1.215 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.9527, allocations: 39.97 kB / 1.215 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007355/0.9535, allocations: 456.4 kB / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.9537, allocations: 74.61 kB / 1.215 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.241e-05/0.9538, allocations: 24.84 kB / 1.215 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.9538, allocations: 4 kB / 1.215 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.954, allocations: 75.38 kB / 1.215 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.954, allocations: 4 kB / 1.215 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0003519/0.9543, allocations: 141 kB / 1.215 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.9544, allocations: 55.34 kB / 1.215 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005994/0.955, allocations: 0.5333 MB / 1.216 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.955, allocations: 25.7 kB / 1.216 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.9552, allocations: 227.9 kB / 1.216 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.9552, allocations: 15.8 kB / 1.216 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.364e-05/0.9553, allocations: 45.61 kB / 1.216 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.9555, allocations: 354.8 kB / 1.217 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.9556, allocations: 51.97 kB / 1.217 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.9557, allocations: 78.48 kB / 1.217 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.9559, allocations: 87.33 kB / 1.217 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9559, allocations: 0 / 1.217 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003276/0.9562, allocations: 193.1 kB / 1.217 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.9563, allocations: 9.719 kB / 1.217 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.9563, allocations: 0 / 1.217 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.9563, allocations: 0 / 1.217 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.9564, allocations: 27.92 kB / 1.217 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.9564, allocations: 3.938 kB / 1.217 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.9566, allocations: 19.92 kB / 1.217 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.9566, allocations: 4 kB / 1.217 GB, free: 4.617 MB / 0.9356 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.000182/0.9568, allocations: 184.5 kB / 1.217 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.9568, allocations: 47.38 kB / 1.217 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.077e-05/0.9569, allocations: 43.8 kB / 1.217 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.9569, allocations: 0 / 1.217 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.9569, allocations: 3.938 kB / 1.217 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.957, allocations: 116.6 kB / 1.217 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.9571, allocations: 0 / 1.217 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.9572, allocations: 4 kB / 1.217 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.9572, allocations: 15.98 kB / 1.217 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002477/0.9575, allocations: 173.3 kB / 1.218 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002789/0.9578, allocations: 306.1 kB / 1.218 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.044e-05/0.9579, allocations: 23.98 kB / 1.218 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003756/0.9582, allocations: 362.8 kB / 1.218 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of Backend: time 1.91e-07/0.9583, allocations: 0 / 1.218 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001407/0.9597, allocations: 484.2 kB / 1.219 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001267/0.9609, allocations: 1.125 MB / 1.22 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of Templates: time 0.007457/0.9684, allocations: 2.9 MB / 1.223 GB, free: 14.95 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches