Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_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.001292/0.001292, allocations: 115 kB / 16.42 MB, free: 6.5 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.001209/0.001209, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.131/2.131, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.91 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.676/0.6772, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004438/0.6816, allocations: 3.724 MB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001549/0.6818, allocations: 157.7 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.6818, allocations: 4 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.069e-05/0.6819, allocations: 2.234 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.161e-05/0.682, allocations: 13.09 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.6823, allocations: 82.56 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.48e-05/0.6824, allocations: 33.58 kB / 1.093 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.6824, allocations: 2.797 kB / 1.093 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.566e-05/0.6825, allocations: 19.86 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.092e-05/0.6825, allocations: 15.88 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.6826, allocations: 1.062 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004846/0.6831, allocations: 181.7 kB / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.6831, allocations: 17.17 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.6831, allocations: 5.828 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.6833, allocations: 49.98 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.6833, allocations: 0 / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6833, allocations: 0 / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.6833, allocations: 0.9062 kB / 1.093 GB, free: 2.59 MB / 0.8575 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.0002667/0.6836, allocations: 333.1 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.6836, allocations: 8.469 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.6836, allocations: 7.078 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.062e-05/0.6837, allocations: 163.9 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/0.6838, allocations: 28.91 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.6838, allocations: 1.062 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.6839, allocations: 51.39 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-06/0.6839, allocations: 0 / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.6839, allocations: 5.594 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.6839, allocations: 1.531 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.196e-05/0.684, allocations: 12.91 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.6843, allocations: 332.2 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 2.912e-05/0.6844, allocations: 21.61 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.275e-05/0.6844, allocations: 9.609 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-05/0.6844, allocations: 88.11 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.6845, allocations: 32.48 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.6845, allocations: 0 / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001147/0.6846, allocations: 33.52 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.226e-05/0.6846, allocations: 52.19 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.462e-05/0.6847, allocations: 103 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.6847, allocations: 26.73 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.361e-05/0.6847, allocations: 93.64 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.38e-06/0.6847, allocations: 8.625 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.6848, allocations: 15.38 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.465e-05/0.6848, allocations: 316.4 kB / 1.094 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.6848, allocations: 11.81 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.02e-05/0.6848, allocations: 23.42 kB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.981e-05/0.6849, allocations: 25.44 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6849, allocations: 0 / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.864e-05/0.685, allocations: 53.25 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.685, allocations: 5.781 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.685, allocations: 1.438 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.685, allocations: 0.5625 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.945e-05/0.685, allocations: 5.625 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.685, allocations: 5.219 kB / 1.095 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.6851, allocations: 1.5 kB / 1.095 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.6851, allocations: 6.172 kB / 1.095 GB, free: 0.6484 MB / 0.8575 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 4.369e-05/0.6851, allocations: 116.5 kB / 1.095 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.6852, allocations: 1.875 kB / 1.095 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.174e-05/0.6852, allocations: 123 kB / 1.095 GB, free: 412 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/0.6853, allocations: 181.6 kB / 1.095 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.6853, allocations: 106.4 kB / 1.095 GB, free: 112 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.6854, allocations: 188.9 kB / 1.095 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.092e-05/0.6854, allocations: 182.6 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.6856, allocations: 113.8 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.6856, allocations: 182.1 kB / 1.096 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.176e-05/0.6857, allocations: 257.3 kB / 1.096 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001485/0.6859, allocations: 384.7 kB / 1.096 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.4e-05/0.6859, allocations: 102.6 kB / 1.096 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.184e-05/0.686, allocations: 83.09 kB / 1.097 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of Backend: time 3.21e-07/0.686, allocations: 0 / 1.097 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004261/0.6864, allocations: 122.5 kB / 1.097 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0004595/0.6869, allocations: 0.8638 MB / 1.097 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of Templates: time 0.002623/0.6895, allocations: 0.5467 MB / 1.098 GB, free: 13.53 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches