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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.327/2.327, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 176.8 kB / 491.2 MB, free: 1.551 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009743/0.0009742, allocations: 94 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.222e-05/2.223e-05, allocations: 7.984 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.319, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.421/1.74, allocations: 435.3 MB / 1.637 GB, free: 12.87 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003832/1.74, allocations: 72.34 kB / 1.637 GB, free: 12.83 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 0.04767/1.788, allocations: 18.96 MB / 1.656 GB, free: 13.62 MB / 1.073 GB Notification: Performance of FrontEnd: time 3.236e-06/1.788, allocations: 0 / 1.656 GB, free: 13.62 MB / 1.073 GB Notification: Performance of Transformations before backend: time 1.718e-05/1.788, allocations: 4 kB / 1.656 GB, free: 13.61 MB / 1.073 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.0007493/1.789, allocations: 354.3 kB / 1.656 GB, free: 13.23 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 7.53e-05/1.789, allocations: 8.031 kB / 1.656 GB, free: 13.22 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.383e-05/1.789, allocations: 7.953 kB / 1.656 GB, free: 13.21 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/1.789, allocations: 159.7 kB / 1.656 GB, free: 13.02 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/1.79, allocations: 25.7 kB / 1.656 GB, free: 12.98 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/1.79, allocations: 0 / 1.656 GB, free: 12.98 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001401/1.79, allocations: 23.67 kB / 1.657 GB, free: 12.96 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/1.79, allocations: 41.69 kB / 1.657 GB, free: 12.92 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/1.79, allocations: 0 / 1.657 GB, free: 12.92 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/1.79, allocations: 0 / 1.657 GB, free: 12.92 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/1.79, allocations: 7.438 kB / 1.657 GB, free: 12.91 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007321/1.791, allocations: 313 kB / 1.657 GB, free: 12.56 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.622e-05/1.791, allocations: 22.62 kB / 1.657 GB, free: 12.53 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.454e-05/1.791, allocations: 4.859 kB / 1.657 GB, free: 12.52 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/1.791, allocations: 89.05 kB / 1.657 GB, free: 12.41 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/1.791, allocations: 30.56 kB / 1.657 GB, free: 12.38 MB / 1.073 GB Notification: Performance of pre-optimization done (n=1): time 1.342e-06/1.791, allocations: 3.938 kB / 1.657 GB, free: 12.37 MB / 1.073 GB Notification: Performance of matching and sorting (n=1): time 0.0003186/1.791, allocations: 37.69 kB / 1.657 GB, free: 12.33 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/1.791, allocations: 54.53 kB / 1.657 GB, free: 12.27 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/1.792, allocations: 92.95 kB / 1.657 GB, free: 12.17 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/1.792, allocations: 25.7 kB / 1.657 GB, free: 12.14 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/1.792, allocations: 95.52 kB / 1.657 GB, free: 12.04 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 7.855e-06/1.792, allocations: 0 / 1.657 GB, free: 12.04 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/1.792, allocations: 0 / 1.657 GB, free: 12.04 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.000199/1.792, allocations: 314.8 kB / 1.658 GB, free: 11.73 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/1.792, allocations: 11.81 kB / 1.658 GB, free: 11.72 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.574e-05/1.792, allocations: 13.72 kB / 1.658 GB, free: 11.7 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.668e-05/1.792, allocations: 11.92 kB / 1.658 GB, free: 11.69 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/1.792, allocations: 4 kB / 1.658 GB, free: 11.68 MB / 1.073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000147/1.792, allocations: 49.56 kB / 1.658 GB, free: 11.63 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/1.792, allocations: 4 kB / 1.658 GB, free: 11.63 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.792, allocations: 0 / 1.658 GB, free: 11.63 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.509e-05/1.792, allocations: 0 / 1.658 GB, free: 11.63 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/1.792, allocations: 4 kB / 1.658 GB, free: 11.62 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/1.792, allocations: 4 kB / 1.658 GB, free: 11.62 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.034e-05/1.793, allocations: 7.844 kB / 1.658 GB, free: 11.61 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/1.793, allocations: 3.953 kB / 1.658 GB, free: 11.61 MB / 1.073 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001444/1.793, allocations: 113 kB / 1.658 GB, free: 11.49 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/1.793, allocations: 0 / 1.658 GB, free: 11.49 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/1.793, allocations: 117.6 kB / 1.658 GB, free: 11.37 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001133/1.793, allocations: 176.3 kB / 1.658 GB, free: 11.19 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001055/1.793, allocations: 184.1 kB / 1.658 GB, free: 11.01 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.085e-05/1.793, allocations: 180.3 kB / 1.658 GB, free: 10.82 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/1.794, allocations: 385.7 kB / 1.659 GB, free: 10.4 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.15e-05/1.794, allocations: 108.9 kB / 1.659 GB, free: 10.29 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.27e-05/1.794, allocations: 105 kB / 1.659 GB, free: 10.18 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001126/1.794, allocations: 176.3 kB / 1.659 GB, free: 10 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/1.794, allocations: 184.1 kB / 1.659 GB, free: 9.816 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001173/1.794, allocations: 184.3 kB / 1.66 GB, free: 9.629 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000122/1.794, allocations: 180.3 kB / 1.66 GB, free: 9.445 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/1.794, allocations: 307.7 kB / 1.66 GB, free: 9.121 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/1.795, allocations: 181.8 kB / 1.66 GB, free: 8.922 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/1.795, allocations: 192.1 kB / 1.66 GB, free: 8.727 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/1.795, allocations: 105 kB / 1.66 GB, free: 8.617 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.923e-05/1.795, allocations: 176.3 kB / 1.661 GB, free: 8.438 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.427e-05/1.795, allocations: 108.9 kB / 1.661 GB, free: 8.324 MB / 1.073 GB Notification: Performance of sorting global known variables: time 7.442e-05/1.795, allocations: 91.14 kB / 1.661 GB, free: 8.238 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.4e-07/1.795, allocations: 0 / 1.661 GB, free: 8.238 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0003346/1.796, allocations: 12 kB / 1.661 GB, free: 8.227 MB / 1.073 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 () * 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 (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.000463/1.796, allocations: 232.4 kB / 1.661 GB, free: 7.996 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0001097/1.796, allocations: 8 kB / 1.661 GB, free: 7.988 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.796, allocations: 0 / 1.661 GB, free: 7.988 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 6.813e-06/1.796, allocations: 3.984 kB / 1.661 GB, free: 7.984 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/1.797, allocations: 0.5379 MB / 1.662 GB, free: 7.445 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/1.797, allocations: 127.2 kB / 1.662 GB, free: 7.297 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/1.798, allocations: 0.6806 MB / 1.662 GB, free: 6.59 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 7.86e-05/1.798, allocations: 11.23 kB / 1.662 GB, free: 6.582 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/1.798, allocations: 15.44 kB / 1.662 GB, free: 6.566 MB / 1.073 GB Notification: Performance of SimCode: time 8.41e-07/1.798, allocations: 0 / 1.662 GB, free: 6.566 MB / 1.073 GB Notification: Performance of Templates: time 0.004926/1.803, allocations: 0.8327 MB / 1.663 GB, free: 5.754 MB / 1.073 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","../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches