Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.00134/0.00134, allocations: 119.4 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.00147/0.00147, allocations: 183.9 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.357/1.357, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.205/2.205, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 59.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9331/0.9345, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003799/0.9383, allocations: 2.172 MB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002227/0.9406, allocations: 1.37 MB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.9407, allocations: 14 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006864/0.9415, allocations: 197.5 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003581/0.9418, allocations: 123.2 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.9423, allocations: 148 kB / 1.093 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000342/0.9426, allocations: 232 kB / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.9428, allocations: 44.44 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.943, allocations: 104.5 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.9432, allocations: 97.42 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.243e-05/0.9432, allocations: 10.53 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.9434, allocations: 56.42 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.9436, allocations: 90.47 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.9437, allocations: 136.5 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005086/0.9442, allocations: 354.2 kB / 1.094 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.9442, allocations: 1.672 kB / 1.094 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9442, allocations: 0 / 1.094 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.9442, allocations: 0 / 1.094 GB, free: 2.285 MB / 0.8575 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.0008999/0.9452, allocations: 0.6742 MB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.9452, allocations: 9.922 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.665e-05/0.9453, allocations: 48.12 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.9457, allocations: 353.6 kB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.9457, allocations: 2.562 kB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.9458, allocations: 12 kB / 1.095 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.946, allocations: 80.06 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.946, allocations: 0 / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.946, allocations: 4.875 kB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.946, allocations: 1.906 kB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.9461, allocations: 32.52 kB / 1.095 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007352/0.9469, allocations: 463.6 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.9471, allocations: 65.66 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.938e-05/0.9472, allocations: 26.81 kB / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.9472, allocations: 8.703 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.9474, allocations: 71.95 kB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 2.404e-06/0.9474, allocations: 0 / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0003632/0.9478, allocations: 147.4 kB / 1.096 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.9478, allocations: 57.28 kB / 1.096 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007191/0.9485, allocations: 0.5293 MB / 1.096 GB, free: 480 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.9485, allocations: 27.81 kB / 1.096 GB, free: 448 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.9487, allocations: 225.3 kB / 1.096 GB, free: 256 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.9488, allocations: 17.17 kB / 1.096 GB, free: 244 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.968e-05/0.9488, allocations: 37.31 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.949, allocations: 358.4 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.9491, allocations: 53 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.9493, allocations: 85.08 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.9494, allocations: 86.78 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9494, allocations: 0 / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003604/0.9498, allocations: 193.4 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.9498, allocations: 5.156 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.9499, allocations: 1.531 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.9499, allocations: 6.359 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.95, allocations: 24.23 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.95, allocations: 5.344 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.9502, allocations: 25.36 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.9502, allocations: 4.812 kB / 1.097 GB, free: 15.64 MB / 0.8731 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.0002076/0.9504, allocations: 183 kB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.518e-05/0.9505, allocations: 42.3 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.9506, allocations: 45.61 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.9506, allocations: 2.016 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.9506, allocations: 3.938 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.9507, allocations: 109.9 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.9508, allocations: 11.44 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.076e-05/0.9509, allocations: 4.812 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/0.9509, allocations: 13.78 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000322/0.9513, allocations: 162 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003316/0.9516, allocations: 302.1 kB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.505e-05/0.9517, allocations: 25.16 kB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005171/0.9522, allocations: 367 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of Backend: time 6.71e-07/0.9522, allocations: 1.125 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001587/0.9538, allocations: 485.3 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001626/0.9555, allocations: 1.118 MB / 1.1 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of Templates: time 0.008853/0.9643, allocations: 2.893 MB / 1.103 GB, free: 13.49 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches