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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00112/0.00112, allocations: 106.8 kB / 16.41 MB, free: 6.512 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.001157/0.001157, allocations: 187 kB / 17.34 MB, free: 5.742 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.468/2.468, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.89 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8484/0.8498, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00668/0.8565, allocations: 3.738 MB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002698/0.8568, allocations: 151.5 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.8569, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.857, allocations: 3.938 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 8.922e-05/0.8571, allocations: 15.91 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.8576, allocations: 84.88 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.8577, allocations: 27.86 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.502e-05/0.8578, allocations: 7.938 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.052e-05/0.8578, allocations: 19.97 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.271e-05/0.8579, allocations: 11.94 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.8579, allocations: 0 / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000665/0.8586, allocations: 187.4 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.8586, allocations: 12 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.8587, allocations: 11.92 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.8589, allocations: 47.75 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.8589, allocations: 3.938 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8589, allocations: 0 / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.8589, allocations: 0 / 1.171 GB, free: 15.53 MB / 0.9044 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.0004444/0.8593, allocations: 331.5 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.8594, allocations: 8.031 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.8594, allocations: 4.938 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.8596, allocations: 162.2 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.257e-05/0.8597, allocations: 30.27 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.8597, allocations: 4.375 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.8598, allocations: 53.59 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.8598, allocations: 0 / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.8599, allocations: 0 / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.8599, allocations: 0 / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.879e-05/0.86, allocations: 19.92 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005247/0.8605, allocations: 334 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 4.639e-05/0.8606, allocations: 26.52 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.8606, allocations: 4.859 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.8607, allocations: 85.17 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.8607, allocations: 30.56 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.8607, allocations: 0 / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001636/0.8609, allocations: 45.61 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.8609, allocations: 55.41 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.411e-05/0.861, allocations: 101.8 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.8611, allocations: 29.69 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.8611, allocations: 88.14 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.986e-06/0.8611, allocations: 7.844 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.8612, allocations: 13.72 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.8613, allocations: 314.8 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.8613, allocations: 16.11 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.451e-05/0.8614, allocations: 13.72 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.81e-05/0.8614, allocations: 21.66 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8614, allocations: 0 / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.726e-05/0.8615, allocations: 45.69 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.8615, allocations: 11.94 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.8615, allocations: 4.062 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.8616, allocations: 3.938 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.919e-05/0.8616, allocations: 7.984 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.8616, allocations: 4 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.97e-05/0.8617, allocations: 0 / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.8617, allocations: 0 / 1.173 GB, free: 13.41 MB / 0.9044 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 9.1e-05/0.8618, allocations: 113.8 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.8618, allocations: 3.906 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.8619, allocations: 126.5 kB / 1.174 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.604e-05/0.862, allocations: 184.2 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.48e-05/0.8621, allocations: 176.3 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.33e-05/0.8622, allocations: 188.2 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.8624, allocations: 405.2 kB / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.524e-05/0.8625, allocations: 109 kB / 1.175 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-05/0.8625, allocations: 104.9 kB / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.585e-05/0.8626, allocations: 180.2 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.334e-05/0.8627, allocations: 184.2 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.312e-05/0.8628, allocations: 188.2 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.964e-05/0.8628, allocations: 180.2 kB / 1.175 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.863, allocations: 307.8 kB / 1.176 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.52e-05/0.8631, allocations: 186 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.929e-05/0.8632, allocations: 180.3 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.8634, allocations: 108.9 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.56e-05/0.8634, allocations: 184.3 kB / 1.176 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.615e-05/0.8635, allocations: 101 kB / 1.176 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.493e-05/0.8636, allocations: 87.27 kB / 1.176 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.8636, allocations: 0 / 1.176 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002436/0.8638, allocations: 12 kB / 1.176 GB, free: 9.953 MB / 0.9044 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.000319/0.8641, allocations: 210.3 kB / 1.177 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.877e-05/0.8642, allocations: 11.98 kB / 1.177 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8642, allocations: 0 / 1.177 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.8642, allocations: 0 / 1.177 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.8647, allocations: 460.8 kB / 1.177 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.865, allocations: 207.8 kB / 1.177 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.8653, allocations: 0.6729 MB / 1.178 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.8653, allocations: 11.44 kB / 1.178 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.8654, allocations: 0 / 1.178 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of Templates: time 0.002396/0.8678, allocations: 0.7637 MB / 1.179 GB, free: 7.574 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches