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.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.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.001396/0.001396, allocations: 108.6 kB / 16.41 MB, free: 6.027 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.001432/0.001433, allocations: 188.7 kB / 17.34 MB, free: 5.633 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.682/2.682, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 67.84 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8616/0.8631, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006645/0.8698, allocations: 3.737 MB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000283/0.8701, allocations: 151.5 kB / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.8702, allocations: 0 / 1.212 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.8704, allocations: 7.984 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.866e-05/0.8705, allocations: 15.92 kB / 1.212 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.871, allocations: 82.69 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.976e-05/0.8711, allocations: 31.92 kB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.093e-05/0.8711, allocations: 7.984 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.221e-05/0.8712, allocations: 15.92 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.99e-05/0.8713, allocations: 11.92 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.8713, allocations: 8 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006074/0.8719, allocations: 183.4 kB / 1.213 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.872, allocations: 3.984 kB / 1.213 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.872, allocations: 11.94 kB / 1.213 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.8722, allocations: 47.69 kB / 1.213 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8722, allocations: 0 / 1.213 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8722, allocations: 0 / 1.213 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.8722, allocations: 4 kB / 1.213 GB, free: 9.305 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.0004521/0.8726, allocations: 335.5 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.8727, allocations: 8.031 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.8727, allocations: 0.9375 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.8729, allocations: 174.2 kB / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.984e-05/0.873, allocations: 30.2 kB / 1.213 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.873, allocations: 384 / 1.213 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.8731, allocations: 49.62 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.8731, allocations: 0 / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.8731, allocations: 0 / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.8732, allocations: 4 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.974e-05/0.8732, allocations: 15.98 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.8737, allocations: 341.9 kB / 1.214 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.548e-05/0.8738, allocations: 22.52 kB / 1.214 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/0.8738, allocations: 4.859 kB / 1.214 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.193e-05/0.8739, allocations: 81.17 kB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.8739, allocations: 42.55 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.8739, allocations: 0 / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001591/0.8741, allocations: 33.7 kB / 1.214 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.8741, allocations: 51.41 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.95e-05/0.8742, allocations: 109.7 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.8742, allocations: 29.7 kB / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.8743, allocations: 80.14 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.327e-06/0.8743, allocations: 7.969 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.8743, allocations: 17.72 kB / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.8744, allocations: 326.8 kB / 1.214 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.8745, allocations: 0 / 1.214 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/0.8745, allocations: 13.72 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.661e-05/0.8745, allocations: 25.7 kB / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.8745, allocations: 4 kB / 1.214 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.463e-05/0.8746, allocations: 45.64 kB / 1.214 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.8746, allocations: 8 kB / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.8747, allocations: 0 / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.8747, allocations: 3.984 kB / 1.214 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.143e-05/0.8747, allocations: 4 kB / 1.214 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.8747, allocations: 0 / 1.214 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.958e-05/0.8748, allocations: 4 kB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.8748, allocations: 0 / 1.214 GB, free: 7.195 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 7.877e-05/0.8748, allocations: 121.8 kB / 1.215 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.8749, allocations: 7.844 kB / 1.215 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.875, allocations: 121 kB / 1.215 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.416e-05/0.8751, allocations: 180.3 kB / 1.215 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.63e-05/0.8751, allocations: 184.2 kB / 1.215 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.806e-05/0.8752, allocations: 184.3 kB / 1.215 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.8754, allocations: 413.1 kB / 1.216 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.345e-05/0.8755, allocations: 105 kB / 1.216 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.8755, allocations: 105 kB / 1.216 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.939e-05/0.8756, allocations: 184.2 kB / 1.216 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.461e-05/0.8756, allocations: 180.2 kB / 1.216 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.844e-05/0.8757, allocations: 184.2 kB / 1.216 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.216e-05/0.8758, allocations: 180.5 kB / 1.216 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.8759, allocations: 311.7 kB / 1.217 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.402e-05/0.876, allocations: 182.1 kB / 1.217 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.718e-05/0.8761, allocations: 184.2 kB / 1.217 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.8762, allocations: 109 kB / 1.217 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.8763, allocations: 180.2 kB / 1.217 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.969e-05/0.8764, allocations: 105 kB / 1.217 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.039e-05/0.8764, allocations: 87.27 kB / 1.218 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8764, allocations: 0 / 1.218 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002351/0.8766, allocations: 16 kB / 1.218 GB, free: 3.723 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002693/0.8769, allocations: 206.4 kB / 1.218 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.269e-05/0.877, allocations: 11.94 kB / 1.218 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.877, allocations: 0 / 1.218 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.877, allocations: 0 / 1.218 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.8774, allocations: 462 kB / 1.218 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002652/0.8777, allocations: 207.8 kB / 1.218 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.878, allocations: 0.6768 MB / 1.219 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.878, allocations: 7.438 kB / 1.219 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.878, allocations: 0 / 1.219 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of Templates: time 0.002234/0.8802, allocations: 0.7563 MB / 1.22 GB, free: 1.352 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