Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009276/0.0009272, allocations: 91.12 kB / 15.06 MB, free: 1.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.684/2.684, allocations: 437.8 MB / 0.7117 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003735, allocations: 11.94 kB / 0.8722 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8444/0.8448, allocations: 153.8 MB / 1.022 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004653/0.8495, allocations: 3.285 MB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002028/0.8497, allocations: 155.6 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.804e-05/0.8498, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.8499, allocations: 3.938 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.889e-05/0.85, allocations: 7.984 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.8503, allocations: 71.33 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.093e-05/0.8504, allocations: 43.84 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.8504, allocations: 4 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.685e-05/0.8505, allocations: 23.91 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.932e-05/0.8505, allocations: 7.984 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.8506, allocations: 4 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005123/0.8511, allocations: 147.6 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.434e-05/0.8511, allocations: 4 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.8512, allocations: 25.7 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.728e-05/0.8513, allocations: 35.97 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.8513, allocations: 0 / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8513, allocations: 0 / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.8513, allocations: 0 / 1.026 GB, free: 12.24 MB / 0.7794 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.0004/0.8517, allocations: 325.2 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.8517, allocations: 8.562 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.8518, allocations: 4 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.8519, allocations: 167 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.574e-05/0.852, allocations: 41.58 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.852, allocations: 8 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.8522, allocations: 41.67 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.8522, allocations: 0 / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.8522, allocations: 0 / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.8522, allocations: 4 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.673e-05/0.8523, allocations: 15.98 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.8527, allocations: 334 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.684e-05/0.8528, allocations: 22.52 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.627e-05/0.8528, allocations: 8.859 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.8529, allocations: 89.16 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.853, allocations: 30.56 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.853, allocations: 0 / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001627/0.8531, allocations: 45.55 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.8532, allocations: 55.53 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.739e-05/0.8533, allocations: 101.8 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.8533, allocations: 25.7 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.8534, allocations: 88.05 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.09e-06/0.8534, allocations: 0 / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.8534, allocations: 0 / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.8535, allocations: 322.8 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.8535, allocations: 4 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-05/0.8536, allocations: 17.72 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.202e-05/0.8536, allocations: 4 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8536, allocations: 0 / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.242e-05/0.8537, allocations: 53.56 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.8537, allocations: 4 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.8537, allocations: 0 / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.8537, allocations: 4 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.592e-05/0.8538, allocations: 7.984 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.8538, allocations: 4.062 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.89e-05/0.8538, allocations: 3.938 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.8538, allocations: 4 kB / 1.028 GB, free: 10.17 MB / 0.7794 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.324e-05/0.8539, allocations: 113.8 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.854, allocations: 11.91 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.8541, allocations: 120.9 kB / 1.028 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-05/0.8542, allocations: 184.2 kB / 1.028 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.816e-05/0.8542, allocations: 184.2 kB / 1.028 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.576e-05/0.8543, allocations: 180.3 kB / 1.029 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.8546, allocations: 413.1 kB / 1.029 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-05/0.8546, allocations: 101 kB / 1.029 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.665e-05/0.8547, allocations: 101 kB / 1.029 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.854e-05/0.8548, allocations: 192.2 kB / 1.029 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.218e-05/0.8548, allocations: 176.3 kB / 1.03 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.995e-05/0.8549, allocations: 180.2 kB / 1.03 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-05/0.855, allocations: 184.2 kB / 1.03 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.8551, allocations: 315.7 kB / 1.03 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.322e-05/0.8552, allocations: 178.1 kB / 1.03 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.984e-05/0.8553, allocations: 184.2 kB / 1.031 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.8555, allocations: 109 kB / 1.031 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/0.8556, allocations: 180.5 kB / 1.031 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/0.8556, allocations: 104.9 kB / 1.031 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.897e-05/0.8557, allocations: 91.27 kB / 1.031 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8557, allocations: 0 / 1.031 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000254/0.856, allocations: 16 kB / 1.031 GB, free: 6.703 MB / 0.7794 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.0001987/0.8562, allocations: 190.5 kB / 1.031 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.102e-05/0.8562, allocations: 4 kB / 1.031 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8563, allocations: 0 / 1.031 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.849e-06/0.8563, allocations: 7.938 kB / 1.031 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.8567, allocations: 0.5287 MB / 1.032 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.857, allocations: 191.9 kB / 1.032 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.8573, allocations: 0.6731 MB / 1.033 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.37e-05/0.8574, allocations: 15.98 kB / 1.033 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.8574, allocations: 7.438 kB / 1.033 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8575, allocations: 0 / 1.033 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of Templates: time 0.002864/0.8603, allocations: 0.5616 MB / 1.033 GB, free: 4.469 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches