Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_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.004679/0.004679, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001071/0.001071, allocations: 196.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.732/2.732, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.98 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3619, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005198/0.3672, allocations: 3.735 MB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001981/0.3674, allocations: 155.5 kB / 1.212 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.07e-05/0.3674, allocations: 0 / 1.212 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.3676, allocations: 3.938 kB / 1.212 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.693e-05/0.3677, allocations: 11.92 kB / 1.212 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.368, allocations: 87.69 kB / 1.212 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.032e-05/0.3681, allocations: 35.84 kB / 1.212 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/0.3682, allocations: 4 kB / 1.212 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.099e-05/0.3682, allocations: 19.91 kB / 1.212 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.112e-05/0.3683, allocations: 7.984 kB / 1.212 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.3683, allocations: 4 kB / 1.212 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005286/0.3688, allocations: 195.4 kB / 1.212 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.3689, allocations: 3.984 kB / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.3689, allocations: 19.88 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.3691, allocations: 39.89 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3691, allocations: 0 / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3691, allocations: 0 / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3691, allocations: 4 kB / 1.212 GB, free: 5.32 MB / 0.9669 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.0004119/0.3695, allocations: 335.5 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3695, allocations: 8.031 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.3696, allocations: 4.875 kB / 1.212 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.3697, allocations: 164.4 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.633e-05/0.3698, allocations: 34.25 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.3698, allocations: 384 / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.3699, allocations: 49.62 kB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.3699, allocations: 0 / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3699, allocations: 0 / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.37, allocations: 0 / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.223e-05/0.37, allocations: 23.92 kB / 1.213 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.3704, allocations: 338 kB / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.261e-05/0.3705, allocations: 22.58 kB / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.3705, allocations: 4.859 kB / 1.213 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.749e-05/0.3706, allocations: 81.17 kB / 1.213 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.3706, allocations: 34.56 kB / 1.213 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3706, allocations: 0 / 1.213 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.000149/0.3708, allocations: 45.53 kB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.3708, allocations: 55.53 kB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.706e-05/0.3709, allocations: 101.8 kB / 1.213 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.3709, allocations: 29.7 kB / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.371, allocations: 88.03 kB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.737e-06/0.371, allocations: 0 / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.371, allocations: 13.72 kB / 1.213 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3711, allocations: 326.8 kB / 1.214 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/0.3712, allocations: 0 / 1.214 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.164e-05/0.3712, allocations: 17.72 kB / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.419e-05/0.3712, allocations: 25.66 kB / 1.214 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3713, allocations: 0 / 1.214 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.637e-05/0.3713, allocations: 49.62 kB / 1.214 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3713, allocations: 8 kB / 1.214 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3714, allocations: 0 / 1.214 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3714, allocations: 4.062 kB / 1.214 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.883e-05/0.3714, allocations: 7.984 kB / 1.214 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3714, allocations: 0 / 1.214 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/0.3715, allocations: 7.906 kB / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.3715, allocations: 3.938 kB / 1.214 GB, free: 3.199 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.275e-05/0.3716, allocations: 113.8 kB / 1.214 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.3716, allocations: 3.938 kB / 1.214 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.3717, allocations: 124.9 kB / 1.214 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-05/0.3718, allocations: 180.5 kB / 1.214 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.528e-05/0.3718, allocations: 176.3 kB / 1.214 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.318e-05/0.3719, allocations: 180.2 kB / 1.214 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.3721, allocations: 413.1 kB / 1.215 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.07e-05/0.3721, allocations: 104.9 kB / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.3722, allocations: 113 kB / 1.215 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-05/0.3722, allocations: 176.3 kB / 1.215 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-05/0.3723, allocations: 184.2 kB / 1.215 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-05/0.3724, allocations: 176.3 kB / 1.216 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.946e-05/0.3724, allocations: 184.2 kB / 1.216 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.3726, allocations: 315.8 kB / 1.216 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.486e-05/0.3726, allocations: 182 kB / 1.216 GB, free: 452 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.802e-05/0.3727, allocations: 176.3 kB / 1.216 GB, free: 268 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.3729, allocations: 112.9 kB / 1.217 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.697e-05/0.373, allocations: 180.3 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.373, allocations: 109 kB / 1.217 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.397e-05/0.3731, allocations: 91.2 kB / 1.217 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3731, allocations: 0 / 1.217 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002551/0.3734, allocations: 15.94 kB / 1.217 GB, free: 15.74 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002779/0.3736, allocations: 202.4 kB / 1.217 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.828e-05/0.3737, allocations: 12 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3737, allocations: 0 / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.3737, allocations: 0 / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.3741, allocations: 455.7 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.3744, allocations: 182 kB / 1.218 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.3747, allocations: 0.6807 MB / 1.218 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.651e-05/0.3747, allocations: 6.25 kB / 1.218 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.516e-05/0.3747, allocations: 7.438 kB / 1.218 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.3747, allocations: 4 kB / 1.218 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of Templates: time 0.002953/0.3777, allocations: 0.6478 MB / 1.219 GB, free: 13.52 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches