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.001511/0.001511, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.782/2.782, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 65.7 kB / 0.9121 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3109, allocations: 159.9 MB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004766/0.3157, allocations: 3.273 MB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001062/0.3159, allocations: 51.84 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.429e-05/0.3159, allocations: 0 / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.316, allocations: 3.938 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.153e-05/0.3161, allocations: 19.91 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005911/0.3167, allocations: 186.6 kB / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.999e-05/0.3168, allocations: 31.91 kB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.3168, allocations: 3.984 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.064e-05/0.3169, allocations: 12 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.673e-05/0.317, allocations: 19.84 kB / 1.072 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.317, allocations: 4 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003503/0.3173, allocations: 171.6 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.072e-05/0.3174, allocations: 8 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.3174, allocations: 7.938 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.3177, allocations: 136 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3177, allocations: 0 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.906e-06/0.3177, allocations: 3.984 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3177, allocations: 0 / 1.072 GB, free: 6.402 MB / 0.8262 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.000411/0.3182, allocations: 347.4 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3182, allocations: 8.031 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.3183, allocations: 12.84 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.3184, allocations: 164.4 kB / 1.073 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/0.3184, allocations: 26.27 kB / 1.073 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.3184, allocations: 4.375 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.3186, allocations: 49.59 kB / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.3186, allocations: 0 / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3186, allocations: 0 / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.3186, allocations: 4 kB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.553e-05/0.3187, allocations: 15.98 kB / 1.073 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006375/0.3193, allocations: 0.5872 MB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.467e-05/0.3194, allocations: 18.58 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.621e-05/0.3194, allocations: 8.859 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002395/0.3196, allocations: 340.5 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.3197, allocations: 38.56 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.3197, allocations: 0 / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001458/0.3198, allocations: 41.62 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.3199, allocations: 51.41 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.868e-05/0.32, allocations: 101.9 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.32, allocations: 29.64 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.32, allocations: 92.02 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.434e-06/0.3201, allocations: 7.906 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.3201, allocations: 17.72 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3202, allocations: 318.9 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.3202, allocations: 3.984 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.467e-05/0.3203, allocations: 17.72 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.559e-05/0.3203, allocations: 25.59 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3203, allocations: 0 / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.934e-05/0.3204, allocations: 45.69 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3204, allocations: 12.06 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.3204, allocations: 0 / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.3205, allocations: 0 / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.398e-05/0.3205, allocations: 7.938 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3205, allocations: 3.984 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.079e-05/0.3205, allocations: 7.938 kB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.3206, allocations: 3.984 kB / 1.074 GB, free: 3.641 MB / 0.8262 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 7.842e-05/0.3206, allocations: 119.3 kB / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.3207, allocations: 4 kB / 1.074 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.3208, allocations: 121 kB / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.044e-05/0.3209, allocations: 180.2 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.148e-05/0.3209, allocations: 180.3 kB / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.549e-05/0.321, allocations: 184.2 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.3212, allocations: 401.2 kB / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-05/0.3212, allocations: 109.1 kB / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.521e-05/0.3213, allocations: 112.9 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.415e-05/0.3214, allocations: 180.2 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.376e-05/0.3214, allocations: 180.2 kB / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.377e-05/0.3215, allocations: 180.3 kB / 1.076 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.106e-05/0.3215, allocations: 180.3 kB / 1.076 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.3217, allocations: 315.6 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.3218, allocations: 182.3 kB / 1.077 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.884e-05/0.3219, allocations: 184.3 kB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.322, allocations: 105 kB / 1.077 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.3221, allocations: 188.2 kB / 1.077 GB, free: 400 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-05/0.3221, allocations: 109 kB / 1.077 GB, free: 284 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.031e-05/0.3222, allocations: 79.28 kB / 1.078 GB, free: 204 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3222, allocations: 0 / 1.078 GB, free: 204 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002764/0.3225, allocations: 35.98 kB / 1.078 GB, free: 168 kB / 0.8262 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.0002666/0.3227, allocations: 238.8 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.401e-05/0.3228, allocations: 11.94 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3228, allocations: 0 / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.3228, allocations: 3.938 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.3233, allocations: 465.8 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.3235, allocations: 181.8 kB / 1.078 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.3238, allocations: 0.6768 MB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.411e-05/0.3238, allocations: 9.969 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.61e-05/0.3238, allocations: 7.438 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of SimCode: time 4.41e-07/0.3238, allocations: 0 / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.003437/0.3273, allocations: 1.212 MB / 1.08 GB, free: 13.36 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=480 -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