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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00137/0.00137, allocations: 110.7 kB / 16.41 MB, free: 6.48 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.001365/0.001365, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.621/2.621, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 60.03 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8198/0.8213, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004718/0.8261, allocations: 3.281 MB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001089/0.8262, allocations: 47.86 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.8262, allocations: 0 / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.229e-05/0.8263, allocations: 3.984 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.944e-05/0.8264, allocations: 7.938 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006125/0.8271, allocations: 198.5 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.657e-05/0.8272, allocations: 27.86 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.8272, allocations: 0 / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.26e-05/0.8272, allocations: 27.91 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.665e-05/0.8273, allocations: 4 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.8273, allocations: 4 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003611/0.8277, allocations: 179.5 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.104e-05/0.8278, allocations: 3.984 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/0.8278, allocations: 11.94 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.8281, allocations: 139.5 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.8281, allocations: 0 / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8281, allocations: 0 / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.8281, allocations: 0 / 1.212 GB, free: 9.711 MB / 0.9356 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.0003882/0.8285, allocations: 345.4 kB / 1.213 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.8285, allocations: 8.031 kB / 1.213 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.8286, allocations: 12.84 kB / 1.213 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.8287, allocations: 160.4 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.747e-05/0.8288, allocations: 26.27 kB / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.8288, allocations: 4.375 kB / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.8289, allocations: 49.61 kB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-06/0.8289, allocations: 3.938 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.8289, allocations: 0 / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.829, allocations: 4 kB / 1.213 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.762e-05/0.829, allocations: 15.98 kB / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006141/0.8296, allocations: 0.5872 MB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.902e-05/0.8297, allocations: 18.58 kB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.48e-05/0.8297, allocations: 8.859 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/0.83, allocations: 340.5 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.83, allocations: 42.44 kB / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.83, allocations: 4 kB / 1.214 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001419/0.8301, allocations: 33.7 kB / 1.214 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.8302, allocations: 51.41 kB / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.532e-05/0.8303, allocations: 109.7 kB / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.8303, allocations: 25.7 kB / 1.214 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.8303, allocations: 88.05 kB / 1.214 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.263e-06/0.8304, allocations: 7.906 kB / 1.214 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.8304, allocations: 17.7 kB / 1.214 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.8305, allocations: 322.9 kB / 1.214 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.8305, allocations: 0 / 1.214 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.496e-05/0.8306, allocations: 21.64 kB / 1.214 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.475e-05/0.8306, allocations: 21.72 kB / 1.214 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8306, allocations: 0 / 1.214 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.199e-05/0.8307, allocations: 53.62 kB / 1.215 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.8307, allocations: 8 kB / 1.215 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.8307, allocations: 0 / 1.215 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.8307, allocations: 0 / 1.215 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.169e-05/0.8308, allocations: 4 kB / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.8308, allocations: 0 / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.765e-05/0.8308, allocations: 4 kB / 1.215 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.8309, allocations: 0 / 1.215 GB, free: 6.965 MB / 0.9356 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 6.903e-05/0.8309, allocations: 113.8 kB / 1.215 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.831, allocations: 8.047 kB / 1.215 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.8311, allocations: 120.9 kB / 1.215 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.964e-05/0.8311, allocations: 176.3 kB / 1.215 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.855e-05/0.8312, allocations: 184.2 kB / 1.215 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.006e-05/0.8313, allocations: 184.2 kB / 1.215 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.8315, allocations: 409.2 kB / 1.216 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-05/0.8315, allocations: 108.9 kB / 1.216 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.8316, allocations: 101 kB / 1.216 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.07e-05/0.8316, allocations: 180.2 kB / 1.216 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.177e-05/0.8317, allocations: 180.4 kB / 1.216 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-05/0.8318, allocations: 188.3 kB / 1.216 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.752e-05/0.8318, allocations: 184.2 kB / 1.217 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.832, allocations: 311.6 kB / 1.217 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.832, allocations: 182.3 kB / 1.217 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.989e-05/0.8321, allocations: 184.2 kB / 1.217 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.8323, allocations: 108.9 kB / 1.217 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/0.8324, allocations: 184.2 kB / 1.218 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.8324, allocations: 112.9 kB / 1.218 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.363e-05/0.8325, allocations: 83.28 kB / 1.218 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8325, allocations: 0 / 1.218 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002829/0.8327, allocations: 35.94 kB / 1.218 GB, free: 3.477 MB / 0.9356 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.0002685/0.833, allocations: 235.7 kB / 1.218 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.608e-05/0.8331, allocations: 4 kB / 1.218 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8331, allocations: 3.938 kB / 1.218 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.678e-06/0.8331, allocations: 8.125 kB / 1.218 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.8335, allocations: 466.1 kB / 1.218 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002479/0.8338, allocations: 215.5 kB / 1.219 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.834, allocations: 0.6768 MB / 1.219 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/0.8341, allocations: 11.44 kB / 1.219 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.8341, allocations: 0 / 1.219 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of Templates: time 0.002641/0.8367, allocations: 1.18 MB / 1.22 GB, free: 0.6406 MB / 0.9356 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/jenkins1/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