Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.619/2.619, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001199/0.001199, allocations: 179 kB / 498.1 MB, free: 5.777 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.807/1.807, allocations: 223.2 MB / 0.7949 GB, free: 18 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.00101/0.00101, allocations: 84.17 kB / 0.9346 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005338/0.0005341, allocations: 6.906 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4015, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.447/1.849, allocations: 435.2 MB / 1.648 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004489/1.849, allocations: 71.83 kB / 1.648 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 0.04631/1.896, allocations: 19.12 MB / 1.667 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of FrontEnd: time 4.749e-06/1.896, allocations: 0 / 1.667 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 3.221e-05/1.896, allocations: 3.938 kB / 1.667 GB, free: 10.66 MB / 0.9792 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.0004733/1.896, allocations: 359.9 kB / 1.667 GB, free: 10.26 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/1.896, allocations: 16.03 kB / 1.667 GB, free: 10.25 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/1.896, allocations: 3.953 kB / 1.667 GB, free: 10.24 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/1.897, allocations: 159.1 kB / 1.667 GB, free: 10.05 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.081e-05/1.897, allocations: 29.7 kB / 1.667 GB, free: 10.01 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/1.897, allocations: 0 / 1.667 GB, free: 10.01 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/1.897, allocations: 45.42 kB / 1.667 GB, free: 9.965 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.897, allocations: 0 / 1.667 GB, free: 9.965 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/1.897, allocations: 0 / 1.667 GB, free: 9.965 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/1.897, allocations: 0 / 1.667 GB, free: 9.965 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.73e-05/1.897, allocations: 15.98 kB / 1.667 GB, free: 9.949 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/1.898, allocations: 336.7 kB / 1.668 GB, free: 9.562 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 3.339e-05/1.898, allocations: 14.58 kB / 1.668 GB, free: 9.539 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-05/1.898, allocations: 89.16 kB / 1.668 GB, free: 9.434 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/1.898, allocations: 30.56 kB / 1.668 GB, free: 9.395 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/1.898, allocations: 4 kB / 1.668 GB, free: 9.391 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1): time 0.0001653/1.898, allocations: 41.34 kB / 1.668 GB, free: 9.348 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/1.898, allocations: 59.34 kB / 1.668 GB, free: 9.277 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.242e-05/1.898, allocations: 92.98 kB / 1.668 GB, free: 9.18 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/1.898, allocations: 25.7 kB / 1.668 GB, free: 9.148 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/1.898, allocations: 87.42 kB / 1.668 GB, free: 9.062 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 1.023e-05/1.898, allocations: 11.84 kB / 1.668 GB, free: 9.051 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/1.898, allocations: 0 / 1.668 GB, free: 9.051 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.898, allocations: 319 kB / 1.668 GB, free: 8.73 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/1.898, allocations: 7.438 kB / 1.668 GB, free: 8.727 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.491e-05/1.898, allocations: 9.719 kB / 1.668 GB, free: 8.711 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.936e-05/1.898, allocations: 4 kB / 1.668 GB, free: 8.707 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.898, allocations: 0 / 1.668 GB, free: 8.707 MB / 0.9792 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.11e-05/1.898, allocations: 53.12 kB / 1.668 GB, free: 8.652 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.898, allocations: 4 kB / 1.668 GB, free: 8.648 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.898, allocations: 4.062 kB / 1.668 GB, free: 8.645 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/1.898, allocations: 0 / 1.668 GB, free: 8.645 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.564e-05/1.899, allocations: 15.98 kB / 1.668 GB, free: 8.629 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/1.899, allocations: 3.953 kB / 1.668 GB, free: 8.625 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.935e-05/1.899, allocations: 4.031 kB / 1.668 GB, free: 8.625 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/1.899, allocations: 4 kB / 1.668 GB, free: 8.621 MB / 0.9792 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.899e-05/1.899, allocations: 109.8 kB / 1.668 GB, free: 8.504 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/1.899, allocations: 0 / 1.668 GB, free: 8.504 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/1.899, allocations: 135.5 kB / 1.669 GB, free: 8.371 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.118e-05/1.899, allocations: 176.3 kB / 1.669 GB, free: 8.191 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.758e-05/1.899, allocations: 184.2 kB / 1.669 GB, free: 8.004 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.145e-05/1.899, allocations: 180.2 kB / 1.669 GB, free: 7.82 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/1.899, allocations: 408.5 kB / 1.67 GB, free: 7.367 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.05e-05/1.899, allocations: 105 kB / 1.67 GB, free: 7.258 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/1.899, allocations: 105 kB / 1.67 GB, free: 7.148 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.036e-05/1.9, allocations: 180.2 kB / 1.67 GB, free: 6.965 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.273e-05/1.9, allocations: 184 kB / 1.67 GB, free: 6.781 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.093e-05/1.9, allocations: 180.3 kB / 1.67 GB, free: 6.598 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-05/1.9, allocations: 180.3 kB / 1.67 GB, free: 6.414 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/1.9, allocations: 319.1 kB / 1.671 GB, free: 6.082 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 8.909e-05/1.9, allocations: 182.1 kB / 1.671 GB, free: 5.879 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.254e-05/1.9, allocations: 184.2 kB / 1.671 GB, free: 5.691 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/1.9, allocations: 105 kB / 1.671 GB, free: 5.582 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.212e-05/1.9, allocations: 187.4 kB / 1.671 GB, free: 5.395 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.675e-05/1.9, allocations: 104.9 kB / 1.671 GB, free: 5.285 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 5.611e-05/1.901, allocations: 90.95 kB / 1.672 GB, free: 5.199 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.4e-07/1.901, allocations: 0 / 1.672 GB, free: 5.199 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002965/1.901, allocations: 16 kB / 1.672 GB, free: 5.184 MB / 0.9792 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 (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.0003816/1.901, allocations: 234.7 kB / 1.672 GB, free: 4.949 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 8.073e-05/1.901, allocations: 11.98 kB / 1.672 GB, free: 4.938 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.901, allocations: 0 / 1.672 GB, free: 4.938 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/1.901, allocations: 3.938 kB / 1.672 GB, free: 4.934 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/1.902, allocations: 0.5256 MB / 1.672 GB, free: 4.406 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/1.902, allocations: 188 kB / 1.672 GB, free: 4.191 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/1.902, allocations: 0.677 MB / 1.673 GB, free: 3.488 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 4.625e-05/1.903, allocations: 4 kB / 1.673 GB, free: 3.484 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.123e-05/1.903, allocations: 11.44 kB / 1.673 GB, free: 3.477 MB / 0.9792 GB Notification: Performance of SimCode: time 2.5e-07/1.903, allocations: 4 kB / 1.673 GB, free: 3.473 MB / 0.9792 GB Notification: Performance of Templates: time 0.004069/1.907, allocations: 1.142 MB / 1.674 GB, free: 2.348 MB / 0.9792 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches