Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007528/0.007534, allocations: 99.52 kB / 15.73 MB, free: 6.035 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.00161/0.00161, allocations: 201.1 kB / 16.68 MB, free: 5.961 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.482/2.482, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 61.88 kB / 0.9508 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.359, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005368/0.3644, allocations: 3.28 MB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001068/0.3646, allocations: 51.84 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.531e-05/0.3646, allocations: 0 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.3648, allocations: 7.938 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.962e-05/0.3649, allocations: 11.92 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000576/0.3654, allocations: 187.3 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.939e-05/0.3655, allocations: 31.86 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.3656, allocations: 3.984 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.41e-05/0.3656, allocations: 15.98 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.133e-05/0.3657, allocations: 11.92 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.3657, allocations: 4 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003664/0.3661, allocations: 175.5 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.893e-05/0.3662, allocations: 11.94 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.3662, allocations: 11.92 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.3665, allocations: 135.7 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3665, allocations: 3.984 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3665, allocations: 0 / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3665, allocations: 0 / 1.092 GB, free: 13.57 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.0004473/0.367, allocations: 343.4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.367, allocations: 11.97 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.3671, allocations: 12.88 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.3672, allocations: 168.3 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.524e-05/0.3673, allocations: 34.19 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.3673, allocations: 4.375 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.3675, allocations: 41.62 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3676, allocations: 4 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3676, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/0.3676, allocations: 8 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.604e-05/0.3677, allocations: 11.98 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007565/0.3684, allocations: 0.5833 MB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.938e-05/0.3685, allocations: 22.52 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.3685, allocations: 4.859 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003151/0.3688, allocations: 336.5 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.3689, allocations: 38.56 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.3689, allocations: 0 / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001487/0.369, allocations: 37.69 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.3691, allocations: 55.34 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.3693, allocations: 101.9 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.3693, allocations: 25.7 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.3694, allocations: 88.08 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.747e-06/0.3694, allocations: 7.953 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.3694, allocations: 17.72 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.3696, allocations: 314.9 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.3696, allocations: 7.984 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.668e-05/0.3697, allocations: 21.72 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.243e-05/0.3697, allocations: 17.72 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3697, allocations: 0 / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.807e-05/0.3698, allocations: 49.62 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3698, allocations: 12.06 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.3698, allocations: 3.938 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3699, allocations: 0 / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-05/0.3699, allocations: 7.984 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3699, allocations: 0 / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.3699, allocations: 11.88 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.37, allocations: 0 / 1.094 GB, free: 10.81 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 0.0001345/0.3701, allocations: 121.7 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.3701, allocations: 3.953 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.3702, allocations: 121 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.07e-05/0.3703, allocations: 176.3 kB / 1.094 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-05/0.3704, allocations: 184.2 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.837e-05/0.3705, allocations: 180.3 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.3707, allocations: 405.5 kB / 1.095 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.503e-05/0.3708, allocations: 117 kB / 1.095 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.271e-05/0.3708, allocations: 104.9 kB / 1.095 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.529e-05/0.3709, allocations: 180.2 kB / 1.096 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.994e-05/0.3709, allocations: 176.3 kB / 1.096 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.269e-05/0.371, allocations: 184.2 kB / 1.096 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.999e-05/0.3711, allocations: 180.2 kB / 1.096 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.3712, allocations: 315.7 kB / 1.096 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.774e-05/0.3713, allocations: 178.1 kB / 1.097 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.891e-05/0.3714, allocations: 184.2 kB / 1.097 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.3715, allocations: 113 kB / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.3716, allocations: 192.2 kB / 1.097 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.3717, allocations: 101 kB / 1.097 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.234e-05/0.3717, allocations: 79.28 kB / 1.097 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3717, allocations: 0 / 1.097 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002935/0.372, allocations: 39.86 kB / 1.097 GB, free: 7.328 MB / 0.8575 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.0003865/0.3724, allocations: 236.5 kB / 1.097 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.71e-05/0.3725, allocations: 11.94 kB / 1.098 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3725, allocations: 3.938 kB / 1.098 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.006e-06/0.3725, allocations: 4 kB / 1.098 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/0.3731, allocations: 463.7 kB / 1.098 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.3734, allocations: 185.8 kB / 1.098 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.3737, allocations: 0.6729 MB / 1.099 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4e-05/0.3737, allocations: 8 kB / 1.099 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.542e-05/0.3738, allocations: 7.438 kB / 1.099 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3738, allocations: 0 / 1.099 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of Templates: time 0.003974/0.3778, allocations: 1.22 MB / 1.1 GB, free: 4.516 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches