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.008699/0.008699, allocations: 102 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.001684/0.001684, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.447/1.447, 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.574/2.574, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 65.36 kB / 0.9508 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2927, allocations: 140.4 MB / 1.088 GB, free: 1.633 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005355/0.2981, allocations: 3.292 MB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001149/0.2982, allocations: 47.88 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.226e-05/0.2983, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.2984, allocations: 7.922 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.96e-05/0.2985, allocations: 19.92 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006269/0.2991, allocations: 187.2 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.655e-05/0.2992, allocations: 31.84 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.2993, allocations: 8 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.491e-05/0.2993, allocations: 11.98 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.784e-05/0.2994, allocations: 19.86 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.2994, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.2998, allocations: 171.6 kB / 1.092 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.794e-05/0.2999, allocations: 7.969 kB / 1.092 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.2999, allocations: 15.94 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.3003, allocations: 127.8 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3003, allocations: 4 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3003, allocations: 0 / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3003, allocations: 0 / 1.092 GB, free: 13.68 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.0004548/0.3007, allocations: 347.5 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3008, allocations: 16.02 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.3008, allocations: 0.9375 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.301, allocations: 168.2 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-05/0.301, allocations: 34.27 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.3011, allocations: 384 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.3012, allocations: 45.62 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3012, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.3012, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.3013, allocations: 4 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.43e-05/0.3013, allocations: 15.98 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000697/0.302, allocations: 0.5794 MB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.463e-05/0.3021, allocations: 30.52 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.518e-05/0.3021, allocations: 4.859 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/0.3024, allocations: 348.4 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.3024, allocations: 30.56 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.3024, allocations: 0 / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001572/0.3026, allocations: 41.64 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.3026, allocations: 51.41 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.443e-05/0.3027, allocations: 106 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.3027, allocations: 25.7 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.3028, allocations: 88.05 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-06/0.3028, allocations: 0 / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.3028, allocations: 21.7 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.303, allocations: 314.8 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.303, allocations: 4 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.654e-05/0.303, allocations: 17.72 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.599e-05/0.3031, allocations: 25.7 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3031, allocations: 3.938 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.174e-05/0.3032, allocations: 57.53 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3032, allocations: 7.938 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3032, allocations: 4 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.3032, allocations: 0 / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.485e-05/0.3032, allocations: 4.062 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3033, allocations: 8 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.005e-05/0.3033, allocations: 7.875 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.3033, allocations: 0 / 1.094 GB, free: 10.91 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 8.115e-05/0.3034, allocations: 113.8 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.3034, allocations: 4 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.3035, allocations: 117 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-05/0.3036, allocations: 184.2 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.115e-05/0.3037, allocations: 180.3 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-05/0.3038, allocations: 184.2 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.304, allocations: 409.2 kB / 1.095 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.34e-05/0.3041, allocations: 105 kB / 1.095 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.511e-05/0.3041, allocations: 104.9 kB / 1.095 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-05/0.3042, allocations: 184.3 kB / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-05/0.3043, allocations: 180.3 kB / 1.096 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.242e-05/0.3043, allocations: 180.2 kB / 1.096 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.65e-05/0.3044, allocations: 180.2 kB / 1.096 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.3045, allocations: 311.7 kB / 1.096 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.229e-05/0.3046, allocations: 182 kB / 1.097 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.966e-05/0.3047, allocations: 188.2 kB / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.3049, allocations: 109 kB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.305, allocations: 180.2 kB / 1.097 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.305, allocations: 105 kB / 1.097 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.319e-05/0.3051, allocations: 87.27 kB / 1.097 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3051, allocations: 0 / 1.097 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000302/0.3054, allocations: 32 kB / 1.097 GB, free: 7.445 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.0003063/0.3057, allocations: 245.6 kB / 1.097 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.777e-05/0.3058, allocations: 19.88 kB / 1.098 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3058, allocations: 0 / 1.098 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.3058, allocations: 0 / 1.098 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.3064, allocations: 465.4 kB / 1.098 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000319/0.3067, allocations: 177.9 kB / 1.098 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.307, allocations: 0.6767 MB / 1.099 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.26e-05/0.307, allocations: 4 kB / 1.099 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.307, allocations: 11.44 kB / 1.099 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of SimCode: time 4.3e-07/0.3071, allocations: 4 kB / 1.099 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of Templates: time 0.003813/0.3109, allocations: 1.213 MB / 1.1 GB, free: 4.633 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