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.259/2.259, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001124/0.001124, allocations: 180.9 kB / 492.3 MB, free: 0.5977 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.599/1.599, allocations: 221.3 MB / 0.7872 GB, free: 12.91 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.0009114/0.0009119, allocations: 83.97 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.835e-05/2.839e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.323, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.328/1.651, allocations: 435.2 MB / 1.637 GB, free: 12.59 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/1.651, allocations: 68.81 kB / 1.637 GB, free: 12.56 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 0.04223/1.694, allocations: 19.05 MB / 1.656 GB, free: 12.97 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.533e-06/1.694, allocations: 0 / 1.656 GB, free: 12.97 MB / 1.073 GB Notification: Performance of Transformations before backend: time 7.834e-06/1.694, allocations: 0 / 1.656 GB, free: 12.97 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.0003958/1.694, allocations: 357.8 kB / 1.656 GB, free: 12.58 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/1.694, allocations: 12.03 kB / 1.656 GB, free: 12.57 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/1.694, allocations: 0.625 kB / 1.656 GB, free: 12.57 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/1.694, allocations: 174.5 kB / 1.657 GB, free: 12.36 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-05/1.694, allocations: 33.7 kB / 1.657 GB, free: 12.32 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/1.694, allocations: 0 / 1.657 GB, free: 12.32 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/1.695, allocations: 37.69 kB / 1.657 GB, free: 12.28 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/1.695, allocations: 0 / 1.657 GB, free: 12.28 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/1.695, allocations: 3.438 kB / 1.657 GB, free: 12.28 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/1.695, allocations: 4 kB / 1.657 GB, free: 12.27 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.588e-05/1.695, allocations: 15.92 kB / 1.657 GB, free: 12.26 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/1.695, allocations: 333.2 kB / 1.657 GB, free: 11.87 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.585e-05/1.695, allocations: 25.64 kB / 1.657 GB, free: 11.84 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/1.695, allocations: 4.859 kB / 1.657 GB, free: 11.83 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.827e-05/1.695, allocations: 81.17 kB / 1.657 GB, free: 11.73 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/1.695, allocations: 30.56 kB / 1.657 GB, free: 11.7 MB / 1.073 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/1.695, allocations: 4 kB / 1.657 GB, free: 11.69 MB / 1.073 GB Notification: Performance of matching and sorting (n=1): time 0.0001257/1.695, allocations: 37.62 kB / 1.657 GB, free: 11.65 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/1.695, allocations: 62.77 kB / 1.657 GB, free: 11.58 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.503e-05/1.696, allocations: 89 kB / 1.657 GB, free: 11.48 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/1.696, allocations: 25.7 kB / 1.657 GB, free: 11.45 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/1.696, allocations: 91.61 kB / 1.657 GB, free: 11.36 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 8.646e-06/1.696, allocations: 3.984 kB / 1.657 GB, free: 11.36 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-06/1.696, allocations: 3.938 kB / 1.657 GB, free: 11.36 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.696, allocations: 310.8 kB / 1.658 GB, free: 11.04 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/1.696, allocations: 4 kB / 1.658 GB, free: 11.04 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.159e-05/1.696, allocations: 21.28 kB / 1.658 GB, free: 11.02 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.779e-05/1.696, allocations: 4 kB / 1.658 GB, free: 11.01 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.696, allocations: 0 / 1.658 GB, free: 11.01 MB / 1.073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.208e-05/1.696, allocations: 56.78 kB / 1.658 GB, free: 10.95 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/1.696, allocations: 8 kB / 1.658 GB, free: 10.95 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/1.696, allocations: 0 / 1.658 GB, free: 10.95 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/1.696, allocations: 0 / 1.658 GB, free: 10.95 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.355e-05/1.696, allocations: 12.05 kB / 1.658 GB, free: 10.93 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/1.696, allocations: 0 / 1.658 GB, free: 10.93 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.962e-05/1.696, allocations: 11.89 kB / 1.658 GB, free: 10.92 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/1.696, allocations: 0 / 1.658 GB, free: 10.92 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 6.717e-05/1.696, allocations: 108.9 kB / 1.658 GB, free: 10.81 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/1.696, allocations: 3.438 kB / 1.658 GB, free: 10.81 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/1.696, allocations: 117 kB / 1.658 GB, free: 10.69 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-05/1.696, allocations: 184.2 kB / 1.658 GB, free: 10.5 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-05/1.696, allocations: 180.3 kB / 1.658 GB, free: 10.32 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.237e-05/1.697, allocations: 183.9 kB / 1.659 GB, free: 10.13 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/1.697, allocations: 409.1 kB / 1.659 GB, free: 9.676 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.034e-05/1.697, allocations: 104.4 kB / 1.659 GB, free: 9.57 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/1.697, allocations: 108.9 kB / 1.659 GB, free: 9.457 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.267e-05/1.697, allocations: 184.5 kB / 1.659 GB, free: 9.27 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/1.697, allocations: 176.3 kB / 1.659 GB, free: 9.09 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-05/1.697, allocations: 180.2 kB / 1.66 GB, free: 8.906 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.169e-05/1.697, allocations: 180.3 kB / 1.66 GB, free: 8.723 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/1.697, allocations: 315.5 kB / 1.66 GB, free: 8.395 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-05/1.697, allocations: 189.6 kB / 1.66 GB, free: 8.188 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.986e-05/1.697, allocations: 184.2 kB / 1.66 GB, free: 8 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/1.698, allocations: 109 kB / 1.661 GB, free: 7.887 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/1.698, allocations: 180.2 kB / 1.661 GB, free: 7.703 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/1.698, allocations: 105 kB / 1.661 GB, free: 7.594 MB / 1.073 GB Notification: Performance of sorting global known variables: time 4.326e-05/1.698, allocations: 82.59 kB / 1.661 GB, free: 7.516 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.5e-07/1.698, allocations: 0 / 1.661 GB, free: 7.516 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0002497/1.698, allocations: 19.98 kB / 1.661 GB, free: 7.496 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.0002975/1.698, allocations: 240.3 kB / 1.661 GB, free: 7.262 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 6.413e-05/1.698, allocations: 15.94 kB / 1.661 GB, free: 7.246 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.698, allocations: 0 / 1.661 GB, free: 7.246 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/1.698, allocations: 0 / 1.661 GB, free: 7.246 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/1.699, allocations: 0.5372 MB / 1.662 GB, free: 6.707 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001903/1.699, allocations: 120.9 kB / 1.662 GB, free: 6.566 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/1.699, allocations: 0.6809 MB / 1.662 GB, free: 5.859 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 4.503e-05/1.699, allocations: 4 kB / 1.662 GB, free: 5.855 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/1.699, allocations: 14.88 kB / 1.662 GB, free: 5.844 MB / 1.073 GB Notification: Performance of SimCode: time 2.5e-07/1.699, allocations: 3.938 kB / 1.662 GB, free: 5.84 MB / 1.073 GB Notification: Performance of Templates: time 0.003663/1.703, allocations: 1.261 MB / 1.664 GB, free: 4.59 MB / 1.073 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