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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008377/0.0008377, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0009097/0.0009098, allocations: 172.7 kB / 15.95 MB, free: 208 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.47/1.47, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.88/2.88, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003952, allocations: 9.844 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3982, allocations: 159.6 MB / 1.058 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005318/0.4036, allocations: 3.295 MB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002213/0.4038, allocations: 143.7 kB / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.4039, allocations: 0 / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.404, allocations: 3.984 kB / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.686e-05/0.4041, allocations: 19.92 kB / 1.061 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.4045, allocations: 55.78 kB / 1.061 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.4046, allocations: 47.81 kB / 1.061 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.378e-05/0.4047, allocations: 4 kB / 1.061 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.894e-05/0.4047, allocations: 15.98 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.646e-05/0.4048, allocations: 19.86 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.4049, allocations: 4 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005915/0.4054, allocations: 143.6 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.4055, allocations: 11.92 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.4055, allocations: 25.7 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.4057, allocations: 27.97 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4057, allocations: 0 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4057, allocations: 4 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.4057, allocations: 0 / 1.062 GB, free: 1.512 MB / 0.8106 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.0004281/0.4061, allocations: 335.6 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.4062, allocations: 12.03 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/0.4062, allocations: 3.984 kB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.4064, allocations: 163 kB / 1.062 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-05/0.4065, allocations: 29.7 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.4065, allocations: 0 / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.4067, allocations: 49.62 kB / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.4067, allocations: 0 / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.4067, allocations: 3.984 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.4067, allocations: 4 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.057e-05/0.4068, allocations: 12 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.4073, allocations: 337.9 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.728e-05/0.4074, allocations: 18.52 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.4074, allocations: 12.84 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-05/0.4075, allocations: 85.17 kB / 1.063 GB, free: 276 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.4076, allocations: 30.56 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.193e-06/0.4076, allocations: 0 / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001773/0.4078, allocations: 41.69 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.4078, allocations: 51.41 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.523e-05/0.4079, allocations: 93.98 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.408, allocations: 29.7 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/0.4081, allocations: 103.9 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.299e-06/0.4081, allocations: 0 / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.4081, allocations: 0 / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4082, allocations: 314.8 kB / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.4082, allocations: 4 kB / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.784e-05/0.4083, allocations: 25.64 kB / 1.063 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.497e-05/0.4083, allocations: 8 kB / 1.063 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4083, allocations: 0 / 1.063 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.751e-05/0.4084, allocations: 49.62 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.4084, allocations: 4 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.4084, allocations: 4 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.4085, allocations: 0 / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.242e-05/0.4085, allocations: 7.938 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4085, allocations: 0 / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.858e-05/0.4086, allocations: 7.906 kB / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.4086, allocations: 8.062 kB / 1.063 GB, free: 15.43 MB / 0.8262 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.597e-05/0.4087, allocations: 113.8 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.4087, allocations: 4 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.4089, allocations: 120.9 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.447e-05/0.4089, allocations: 176.3 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.9e-05/0.409, allocations: 176.3 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-05/0.4091, allocations: 192.2 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.4094, allocations: 405.2 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.265e-05/0.4094, allocations: 104.9 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.167e-05/0.4095, allocations: 105 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.348e-05/0.4096, allocations: 180.3 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.844e-05/0.4097, allocations: 184.5 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.018e-05/0.4098, allocations: 176.3 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.888e-05/0.4099, allocations: 188.2 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.41, allocations: 307.7 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.4102, allocations: 194.1 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.4103, allocations: 176.3 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.4104, allocations: 108.9 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.4105, allocations: 184.3 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.4106, allocations: 108.9 kB / 1.067 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.324e-05/0.4107, allocations: 79.28 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4107, allocations: 4 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002719/0.411, allocations: 12 kB / 1.067 GB, free: 11.99 MB / 0.8262 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.000277/0.4112, allocations: 202.4 kB / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.415e-05/0.4113, allocations: 11.92 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4113, allocations: 0 / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.435e-06/0.4114, allocations: 0 / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.4119, allocations: 0.5342 MB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.4122, allocations: 187.8 kB / 1.068 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.4126, allocations: 0.6692 MB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.602e-05/0.4126, allocations: 14.61 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.4127, allocations: 11.44 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of SimCode: time 1.032e-06/0.4127, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of Templates: time 0.003181/0.4159, allocations: 0.5614 MB / 1.069 GB, free: 9.75 MB / 0.8262 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