Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_11_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.006178/0.006178, allocations: 101.5 kB / 15.73 MB, free: 6.012 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.001356/0.001356, allocations: 191.8 kB / 16.67 MB, free: 5.926 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.806/2.806, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 71.83 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3696, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005823/0.3754, allocations: 3.741 MB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002103/0.3756, allocations: 167.5 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.567e-05/0.3756, allocations: 0 / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.3758, allocations: 3.938 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.819e-05/0.3758, allocations: 11.92 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.3762, allocations: 83.75 kB / 1.225 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.065e-05/0.3763, allocations: 31.84 kB / 1.225 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.111e-05/0.3764, allocations: 4 kB / 1.225 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.692e-05/0.3764, allocations: 23.92 kB / 1.225 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.011e-05/0.3765, allocations: 7.984 kB / 1.225 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.3765, allocations: 0 / 1.225 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005358/0.377, allocations: 183.4 kB / 1.225 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.786e-05/0.3771, allocations: 15.97 kB / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.3771, allocations: 7.938 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.3772, allocations: 47.83 kB / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3772, allocations: 0 / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3772, allocations: 0 / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3773, allocations: 4 kB / 1.225 GB, free: 9.465 MB / 0.9825 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.0004229/0.3777, allocations: 331.5 kB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3777, allocations: 11.97 kB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.997e-05/0.3778, allocations: 8.922 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.3779, allocations: 164.3 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.42e-05/0.378, allocations: 26.27 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-06/0.378, allocations: 4.375 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.3781, allocations: 45.62 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3781, allocations: 4 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3781, allocations: 0 / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.3781, allocations: 7.938 kB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.994e-05/0.3782, allocations: 15.92 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004892/0.3787, allocations: 334 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.584e-05/0.3787, allocations: 18.58 kB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.3787, allocations: 4.859 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-05/0.3788, allocations: 93.16 kB / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.3789, allocations: 30.56 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.3789, allocations: 0 / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001539/0.379, allocations: 37.64 kB / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.3791, allocations: 51.41 kB / 1.226 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.843e-05/0.3791, allocations: 101.8 kB / 1.226 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.3792, allocations: 25.83 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.3792, allocations: 100 kB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.241e-06/0.3792, allocations: 3.953 kB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.3792, allocations: 17.7 kB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3794, allocations: 314.8 kB / 1.226 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.3794, allocations: 8 kB / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.271e-05/0.3794, allocations: 13.72 kB / 1.227 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.927e-05/0.3794, allocations: 29.64 kB / 1.227 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3794, allocations: 0 / 1.227 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.245e-05/0.3795, allocations: 49.69 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3795, allocations: 10.12 kB / 1.227 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3795, allocations: 0 / 1.227 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3796, allocations: 0 / 1.227 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.771e-05/0.3796, allocations: 8 kB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3796, allocations: 0 / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.974e-05/0.3796, allocations: 4.062 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.3796, allocations: 0 / 1.227 GB, free: 7.355 MB / 0.9825 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 8.776e-05/0.3797, allocations: 118.2 kB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.3798, allocations: 0 / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.3799, allocations: 121 kB / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.2e-05/0.3799, allocations: 180.2 kB / 1.227 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.817e-05/0.38, allocations: 184.3 kB / 1.227 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.705e-05/0.3801, allocations: 184.5 kB / 1.227 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.3803, allocations: 409.2 kB / 1.228 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.732e-05/0.3803, allocations: 104.9 kB / 1.228 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.329e-05/0.3804, allocations: 105 kB / 1.228 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-05/0.3804, allocations: 180.2 kB / 1.228 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-05/0.3805, allocations: 188.2 kB / 1.228 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.974e-05/0.3805, allocations: 176.3 kB / 1.228 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.828e-05/0.3806, allocations: 192.2 kB / 1.229 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.3808, allocations: 303.7 kB / 1.229 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.17e-05/0.3808, allocations: 194 kB / 1.229 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.868e-05/0.3809, allocations: 184.2 kB / 1.229 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.3811, allocations: 108.9 kB / 1.229 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.3811, allocations: 176.3 kB / 1.23 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.3812, allocations: 101 kB / 1.23 GB, free: 4 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.546e-05/0.3812, allocations: 87.27 kB / 1.23 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3812, allocations: 4 kB / 1.23 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002565/0.3815, allocations: 15.94 kB / 1.23 GB, free: 3.895 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.000287/0.3818, allocations: 210.3 kB / 1.23 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.575e-05/0.3818, allocations: 8 kB / 1.23 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3818, allocations: 0 / 1.23 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.3818, allocations: 0 / 1.23 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.3823, allocations: 467.8 kB / 1.23 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/0.3825, allocations: 174 kB / 1.231 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.3828, allocations: 0.6729 MB / 1.231 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.117e-05/0.3828, allocations: 12 kB / 1.231 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.3828, allocations: 11.44 kB / 1.231 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of SimCode: time 4.2e-07/0.3828, allocations: 0 / 1.231 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of Templates: time 0.002967/0.3858, allocations: 0.6428 MB / 1.232 GB, free: 1.66 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches