Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 112.3 kB / 16.42 MB, free: 6.5 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.00124/0.001241, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.475/2.475, allocations: 461.7 MB / 0.7352 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.89 kB / 1.054 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6598/0.661, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005227/0.6663, allocations: 3.73 MB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001992/0.6665, allocations: 147.5 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.6665, allocations: 3.938 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.638e-05/0.6666, allocations: 4 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.389e-05/0.6667, allocations: 19.92 kB / 1.212 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.6671, allocations: 79.44 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.169e-05/0.6672, allocations: 39.84 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.6672, allocations: 7.938 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.12e-05/0.6673, allocations: 15.97 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.511e-05/0.6673, allocations: 11.94 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.6673, allocations: 4 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005307/0.6679, allocations: 187.4 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.615e-05/0.6679, allocations: 0 / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.668, allocations: 19.92 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.6681, allocations: 43.7 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6681, allocations: 0 / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6681, allocations: 4 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.6681, allocations: 0 / 1.212 GB, free: 9.332 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003557/0.6685, allocations: 335.5 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.6685, allocations: 8.031 kB / 1.213 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.6686, allocations: 4.938 kB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.6687, allocations: 166.2 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/0.6687, allocations: 26.27 kB / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.6688, allocations: 384 / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.6689, allocations: 53.56 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.6689, allocations: 3.938 kB / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.6689, allocations: 0 / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.669, allocations: 3.984 kB / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.597e-05/0.669, allocations: 8 kB / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.6694, allocations: 338 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.785e-05/0.6695, allocations: 18.58 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.6695, allocations: 4.859 kB / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-05/0.6696, allocations: 93.14 kB / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.6697, allocations: 38.5 kB / 1.213 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.432e-06/0.6697, allocations: 4 kB / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001435/0.6698, allocations: 29.7 kB / 1.213 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.6699, allocations: 55.39 kB / 1.214 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.686e-05/0.6699, allocations: 105.8 kB / 1.214 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.67, allocations: 25.7 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.67, allocations: 80.14 kB / 1.214 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.588e-06/0.67, allocations: 11.83 kB / 1.214 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.6701, allocations: 17.84 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.6702, allocations: 322.8 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.6702, allocations: 0 / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.626e-05/0.6702, allocations: 25.64 kB / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.355e-05/0.6703, allocations: 17.72 kB / 1.214 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.6703, allocations: 3.938 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.673e-05/0.6704, allocations: 53.62 kB / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.6704, allocations: 4 kB / 1.214 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.6704, allocations: 4 kB / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.6704, allocations: 0 / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.465e-05/0.6705, allocations: 4 kB / 1.214 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.6705, allocations: 0 / 1.214 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.323e-05/0.6705, allocations: 4 kB / 1.214 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.6705, allocations: 0 / 1.214 GB, free: 7.227 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.983e-05/0.6706, allocations: 119.5 kB / 1.214 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.6706, allocations: 11.97 kB / 1.214 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.6707, allocations: 117.2 kB / 1.214 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.007e-05/0.6708, allocations: 184.3 kB / 1.215 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.394e-05/0.6708, allocations: 109 kB / 1.215 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.759e-05/0.6709, allocations: 182 kB / 1.215 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.67e-05/0.671, allocations: 188.3 kB / 1.215 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.6712, allocations: 116.8 kB / 1.215 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.6712, allocations: 180.3 kB / 1.215 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.917e-05/0.6713, allocations: 259.5 kB / 1.216 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001615/0.6715, allocations: 379.1 kB / 1.216 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.117e-05/0.6715, allocations: 108.9 kB / 1.216 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.956e-05/0.6716, allocations: 87.28 kB / 1.216 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of Backend: time 3.01e-07/0.6716, allocations: 0 / 1.216 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004485/0.6721, allocations: 106.4 kB / 1.216 GB, free: 5 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005336/0.6726, allocations: 0.864 MB / 1.217 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of Templates: time 0.002479/0.6751, allocations: 0.5403 MB / 1.218 GB, free: 3.562 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches