Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.466/1.466, allocations: 249.3 MB / 261.8 MB, free: 5.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009796/0.0009796, allocations: 178.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.1 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009043/0.0009043, allocations: 82.53 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.753e-05/5.755e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2379, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.692/1.929, allocations: 417.4 MB / 1.299 GB, free: 290.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/1.93, allocations: 69.05 kB / 1.299 GB, free: 290.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03465/1.964, allocations: 17.72 MB / 1.317 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.893e-06/1.964, allocations: 0 / 1.317 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.138e-05/1.964, allocations: 4 kB / 1.317 GB, free: 272.9 MB / 0.8542 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.0003409/1.965, allocations: 350.9 kB / 1.317 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/1.965, allocations: 11.97 kB / 1.317 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/1.965, allocations: 0 / 1.317 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.931e-05/1.965, allocations: 167 kB / 1.317 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.57e-05/1.965, allocations: 33.69 kB / 1.317 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/1.965, allocations: 0 / 1.317 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/1.965, allocations: 41.69 kB / 1.317 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/1.965, allocations: 0 / 1.317 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/1.965, allocations: 4 kB / 1.317 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/1.965, allocations: 0 / 1.317 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.679e-05/1.965, allocations: 15.92 kB / 1.317 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/1.966, allocations: 334 kB / 1.318 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.459e-05/1.966, allocations: 22.58 kB / 1.318 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/1.966, allocations: 4.859 kB / 1.318 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-05/1.966, allocations: 81.17 kB / 1.318 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/1.966, allocations: 34.56 kB / 1.318 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/1.966, allocations: 0 / 1.318 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001409/1.966, allocations: 41.53 kB / 1.318 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/1.966, allocations: 63.39 kB / 1.318 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.418e-05/1.966, allocations: 100.9 kB / 1.318 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/1.966, allocations: 25.7 kB / 1.318 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/1.966, allocations: 84.05 kB / 1.318 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-06/1.966, allocations: 3.984 kB / 1.318 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/1.966, allocations: 4 kB / 1.318 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.377e-05/1.966, allocations: 314.8 kB / 1.318 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/1.966, allocations: 3.938 kB / 1.318 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.978e-05/1.966, allocations: 17.72 kB / 1.318 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.04e-05/1.966, allocations: 8 kB / 1.318 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/1.966, allocations: 0 / 1.318 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.026e-05/1.967, allocations: 53.62 kB / 1.319 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/1.967, allocations: 4 kB / 1.319 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.967, allocations: 0 / 1.319 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/1.967, allocations: 0 / 1.319 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.544e-05/1.967, allocations: 16.05 kB / 1.319 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/1.967, allocations: 3.984 kB / 1.319 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.207e-05/1.967, allocations: 3.953 kB / 1.319 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-06/1.967, allocations: 0 / 1.319 GB, free: 270.8 MB / 0.8542 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 4.837e-05/1.967, allocations: 112.9 kB / 1.319 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/1.967, allocations: 3.906 kB / 1.319 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.744e-05/1.967, allocations: 120.9 kB / 1.319 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.72e-05/1.967, allocations: 180.3 kB / 1.319 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.139e-05/1.967, allocations: 188.5 kB / 1.319 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.697e-05/1.967, allocations: 176.3 kB / 1.319 GB, free: 270 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/1.967, allocations: 409.1 kB / 1.32 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.258e-05/1.967, allocations: 105 kB / 1.32 GB, free: 269.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/1.967, allocations: 109 kB / 1.32 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.943e-05/1.967, allocations: 184.2 kB / 1.32 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.432e-05/1.967, allocations: 176.3 kB / 1.32 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.401e-05/1.967, allocations: 184.2 kB / 1.32 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.258e-05/1.967, allocations: 176.3 kB / 1.321 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.824e-05/1.967, allocations: 315.7 kB / 1.321 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/1.968, allocations: 178.1 kB / 1.321 GB, free: 268 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.225e-05/1.968, allocations: 184.2 kB / 1.321 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/1.968, allocations: 117 kB / 1.321 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/1.968, allocations: 180.2 kB / 1.322 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/1.968, allocations: 105 kB / 1.322 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.631e-05/1.968, allocations: 91.27 kB / 1.322 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.61e-07/1.968, allocations: 0 / 1.322 GB, free: 267.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002806/1.968, allocations: 19.94 kB / 1.322 GB, free: 267.3 MB / 0.8542 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.0002632/1.968, allocations: 221.3 kB / 1.322 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.197e-05/1.968, allocations: 19.94 kB / 1.322 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.968, allocations: 0 / 1.322 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.836e-06/1.968, allocations: 0 / 1.322 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/1.969, allocations: 0.5263 MB / 1.322 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001605/1.969, allocations: 133.1 kB / 1.323 GB, free: 266.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/1.969, allocations: 0.6809 MB / 1.323 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.264e-05/1.969, allocations: 4 kB / 1.323 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/1.969, allocations: 15.42 kB / 1.323 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of SimCode: time 3.21e-07/1.969, allocations: 0 / 1.323 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.003519/1.973, allocations: 1.22 MB / 1.324 GB, free: 264.5 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches