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.455/1.455, allocations: 249.5 MB / 257 MB, free: 6.906 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.001103/0.001103, allocations: 172.9 kB / 316.3 MB, free: 3.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0008662/0.0008663, allocations: 81.09 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.936e-05/1.934e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2828, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.869/2.152, allocations: 417.7 MB / 1.293 GB, free: 261.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/2.152, allocations: 73.33 kB / 1.293 GB, free: 261.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03824/2.19, allocations: 17.63 MB / 1.31 GB, free: 259.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.463e-06/2.19, allocations: 4 kB / 1.31 GB, free: 259.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.356e-06/2.19, allocations: 0 / 1.31 GB, free: 259.9 MB / 0.8698 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.0003172/2.191, allocations: 352.2 kB / 1.311 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/2.191, allocations: 11.72 kB / 1.311 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/2.191, allocations: 0 / 1.311 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/2.191, allocations: 174 kB / 1.311 GB, free: 259.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.641e-05/2.191, allocations: 25.7 kB / 1.311 GB, free: 259.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/2.191, allocations: 0 / 1.311 GB, free: 259.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.087e-05/2.191, allocations: 15.27 kB / 1.311 GB, free: 259.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.388e-05/2.191, allocations: 44.97 kB / 1.311 GB, free: 259.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/2.191, allocations: 0 / 1.311 GB, free: 259.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/2.191, allocations: 0 / 1.311 GB, free: 259.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/2.191, allocations: 3.812 kB / 1.311 GB, free: 259.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/2.192, allocations: 308.6 kB / 1.311 GB, free: 259 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.316e-05/2.192, allocations: 22.19 kB / 1.311 GB, free: 259 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/2.192, allocations: 12.8 kB / 1.311 GB, free: 258.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.114e-05/2.192, allocations: 80.98 kB / 1.311 GB, free: 258.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/2.192, allocations: 32.25 kB / 1.311 GB, free: 258.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/2.192, allocations: 0 / 1.311 GB, free: 258.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001678/2.192, allocations: 41.06 kB / 1.311 GB, free: 258.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/2.192, allocations: 55.22 kB / 1.312 GB, free: 258.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.589e-05/2.192, allocations: 100.8 kB / 1.312 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/2.192, allocations: 29.73 kB / 1.312 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/2.192, allocations: 91.45 kB / 1.312 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.21e-06/2.192, allocations: 3.703 kB / 1.312 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/2.192, allocations: 0 / 1.312 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.304e-05/2.192, allocations: 314.8 kB / 1.312 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.105e-05/2.192, allocations: 3.938 kB / 1.312 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.742e-05/2.192, allocations: 17.06 kB / 1.312 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.147e-05/2.192, allocations: 11.61 kB / 1.312 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/2.192, allocations: 0 / 1.312 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.026e-05/2.192, allocations: 48.73 kB / 1.312 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/2.192, allocations: 3.938 kB / 1.312 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/2.192, allocations: 0 / 1.312 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/2.192, allocations: 3.875 kB / 1.312 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.274e-05/2.193, allocations: 7.219 kB / 1.312 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/2.193, allocations: 0 / 1.312 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.792e-05/2.193, allocations: 0 / 1.312 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/2.193, allocations: 3.906 kB / 1.312 GB, free: 258.1 MB / 0.8698 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 5.112e-05/2.193, allocations: 116.7 kB / 1.312 GB, free: 258 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/2.193, allocations: 3.906 kB / 1.312 GB, free: 258 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.405e-05/2.193, allocations: 113.5 kB / 1.312 GB, free: 257.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.051e-05/2.193, allocations: 184.1 kB / 1.313 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-05/2.193, allocations: 183.7 kB / 1.313 GB, free: 257.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.981e-05/2.193, allocations: 180.3 kB / 1.313 GB, free: 257.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/2.193, allocations: 389.2 kB / 1.313 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/2.193, allocations: 105 kB / 1.313 GB, free: 256.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.66e-05/2.193, allocations: 101 kB / 1.313 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.811e-05/2.193, allocations: 183.6 kB / 1.314 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/2.193, allocations: 184.1 kB / 1.314 GB, free: 256.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.893e-05/2.193, allocations: 184 kB / 1.314 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.872e-05/2.193, allocations: 176.3 kB / 1.314 GB, free: 256 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.174e-05/2.193, allocations: 303.1 kB / 1.314 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/2.193, allocations: 189.1 kB / 1.315 GB, free: 255.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/2.193, allocations: 180.3 kB / 1.315 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/2.193, allocations: 108 kB / 1.315 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/2.194, allocations: 180.2 kB / 1.315 GB, free: 255 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/2.194, allocations: 104.9 kB / 1.315 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.933e-05/2.194, allocations: 93.58 kB / 1.315 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/2.194, allocations: 0 / 1.315 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002205/2.194, allocations: 26.66 kB / 1.315 GB, free: 254.8 MB / 0.8698 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.0002283/2.194, allocations: 229.9 kB / 1.316 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.971e-05/2.194, allocations: 11.06 kB / 1.316 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/2.194, allocations: 0 / 1.316 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-06/2.194, allocations: 0 / 1.316 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/2.194, allocations: 0.5294 MB / 1.316 GB, free: 254.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001564/2.195, allocations: 130.7 kB / 1.316 GB, free: 253.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/2.195, allocations: 0.6788 MB / 1.317 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.465e-05/2.195, allocations: 15.17 kB / 1.317 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/2.195, allocations: 7.438 kB / 1.317 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of SimCode: time 2.5e-07/2.195, allocations: 0 / 1.317 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.002864/2.198, allocations: 0.791 MB / 1.318 GB, free: 253.1 MB / 0.8698 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