Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_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_latest_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.001767/0.001767, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002019/0.002019, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.861/2.861, allocations: 482.3 MB / 0.7543 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 64.05 kB / 0.9233 GB, free: 29.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3378, allocations: 162.2 MB / 1.082 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005289/0.3431, allocations: 3.339 MB / 1.085 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001256/0.3433, allocations: 63.8 kB / 1.085 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.828e-05/0.3433, allocations: 0 / 1.085 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.781e-05/0.3434, allocations: 3.938 kB / 1.085 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.481e-05/0.3435, allocations: 15.91 kB / 1.085 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005873/0.3441, allocations: 174.3 kB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.203e-05/0.3442, allocations: 31.91 kB / 1.085 GB, free: 10 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.3443, allocations: 0 / 1.085 GB, free: 10 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.67e-05/0.3443, allocations: 15.98 kB / 1.085 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.198e-05/0.3444, allocations: 23.84 kB / 1.085 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.3444, allocations: 4 kB / 1.085 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.3448, allocations: 167.6 kB / 1.085 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.315e-05/0.3449, allocations: 7.984 kB / 1.085 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.157e-05/0.3449, allocations: 11.92 kB / 1.085 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.3453, allocations: 136 kB / 1.086 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.3453, allocations: 11.98 kB / 1.086 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3453, allocations: 0 / 1.086 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.3453, allocations: 0 / 1.086 GB, free: 9.633 MB / 0.8419 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.000564/0.3459, allocations: 349.1 kB / 1.086 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3459, allocations: 8.031 kB / 1.086 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.346, allocations: 0.9375 kB / 1.086 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.3462, allocations: 168.3 kB / 1.086 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.681e-05/0.3462, allocations: 26.27 kB / 1.086 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.3463, allocations: 8.359 kB / 1.086 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.3464, allocations: 53.56 kB / 1.086 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3464, allocations: 3.984 kB / 1.086 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.3465, allocations: 0 / 1.086 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.3465, allocations: 0 / 1.086 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.138e-05/0.3465, allocations: 11.98 kB / 1.086 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008612/0.3474, allocations: 0.5872 MB / 1.087 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.247e-05/0.3475, allocations: 22.52 kB / 1.087 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.3475, allocations: 8.922 kB / 1.087 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002902/0.3478, allocations: 340.4 kB / 1.087 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.3478, allocations: 30.56 kB / 1.087 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.3478, allocations: 0 / 1.087 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001769/0.348, allocations: 37.69 kB / 1.087 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.3481, allocations: 51.41 kB / 1.087 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.3482, allocations: 106 kB / 1.087 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.3482, allocations: 25.7 kB / 1.087 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.3483, allocations: 88.03 kB / 1.087 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.3483, allocations: 7.906 kB / 1.087 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.3484, allocations: 17.66 kB / 1.087 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3485, allocations: 314.8 kB / 1.088 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.3485, allocations: 15.92 kB / 1.088 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.008e-05/0.3486, allocations: 17.72 kB / 1.088 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.785e-05/0.3486, allocations: 21.72 kB / 1.088 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3486, allocations: 0 / 1.088 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.404e-05/0.3487, allocations: 45.62 kB / 1.088 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3487, allocations: 4 kB / 1.088 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3487, allocations: 0 / 1.088 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.3488, allocations: 4 kB / 1.088 GB, free: 6.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.034e-05/0.3488, allocations: 12 kB / 1.088 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3488, allocations: 3.984 kB / 1.088 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.446e-05/0.3489, allocations: 7.938 kB / 1.088 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.3489, allocations: 4 kB / 1.088 GB, free: 6.883 MB / 0.8419 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.857e-05/0.349, allocations: 109.8 kB / 1.088 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.349, allocations: 4 kB / 1.088 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.3492, allocations: 128.8 kB / 1.088 GB, free: 6.629 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.572e-05/0.3492, allocations: 184.3 kB / 1.088 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.174e-05/0.3493, allocations: 180.2 kB / 1.089 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.1e-05/0.3494, allocations: 176.3 kB / 1.089 GB, free: 6.078 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.3497, allocations: 413.1 kB / 1.089 GB, free: 5.617 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.967e-05/0.3497, allocations: 105 kB / 1.089 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.3498, allocations: 101 kB / 1.089 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.368e-05/0.3499, allocations: 192.2 kB / 1.089 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.293e-05/0.35, allocations: 176.4 kB / 1.09 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.899e-05/0.35, allocations: 184.2 kB / 1.09 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-05/0.3501, allocations: 180.3 kB / 1.09 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.3503, allocations: 311.7 kB / 1.09 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.393e-05/0.3504, allocations: 182.1 kB / 1.09 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.3505, allocations: 184.2 kB / 1.091 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.3507, allocations: 109 kB / 1.091 GB, free: 3.824 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.593e-05/0.3508, allocations: 180.5 kB / 1.091 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-05/0.3509, allocations: 108.9 kB / 1.091 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.338e-05/0.3509, allocations: 87.28 kB / 1.091 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3509, allocations: 0 / 1.091 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002949/0.3512, allocations: 31.98 kB / 1.091 GB, free: 3.41 MB / 0.8419 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.0003098/0.3515, allocations: 246.3 kB / 1.091 GB, free: 3.156 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.367e-05/0.3516, allocations: 8 kB / 1.091 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3516, allocations: 0 / 1.091 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.295e-05/0.3516, allocations: 3.938 kB / 1.091 GB, free: 3.145 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.3522, allocations: 471.7 kB / 1.092 GB, free: 2.68 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.3525, allocations: 169.9 kB / 1.092 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.3528, allocations: 0.6806 MB / 1.093 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.836e-05/0.3529, allocations: 7.234 kB / 1.093 GB, free: 1.773 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.3529, allocations: 15.44 kB / 1.093 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.3529, allocations: 0 / 1.093 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of Templates: time 0.004195/0.3571, allocations: 1.204 MB / 1.094 GB, free: 0.6055 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches