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.009613/0.009613, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001838/0.001838, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.411/1.411, allocations: 222.9 MB / 240.4 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.576/2.576, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.89 kB / 1.054 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9366/0.938, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005443/0.9436, allocations: 3.279 MB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 8.427e-05/0.9437, allocations: 47.84 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.9437, allocations: 4 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.363e-05/0.9438, allocations: 7.875 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.799e-05/0.9439, allocations: 11.92 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.9444, allocations: 186.3 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.954e-05/0.9444, allocations: 27.86 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/0.9445, allocations: 11.98 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.788e-05/0.9445, allocations: 11.98 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.755e-05/0.9446, allocations: 15.92 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.9446, allocations: 0 / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003314/0.945, allocations: 175.5 kB / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.958e-05/0.945, allocations: 7.984 kB / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.9451, allocations: 12 kB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.9453, allocations: 135.5 kB / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.9453, allocations: 0 / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9453, allocations: 0 / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.9454, allocations: 0 / 1.212 GB, free: 9.684 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.000422/0.9458, allocations: 345.3 kB / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.9458, allocations: 12.03 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.9459, allocations: 4.844 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.946, allocations: 164.3 kB / 1.212 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.456e-05/0.946, allocations: 38.27 kB / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.9461, allocations: 384 / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.9462, allocations: 45.61 kB / 1.212 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.9462, allocations: 0 / 1.212 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.9462, allocations: 4 kB / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.9462, allocations: 0 / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.338e-05/0.9463, allocations: 15.98 kB / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005521/0.9468, allocations: 0.5871 MB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.963e-05/0.9469, allocations: 26.55 kB / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.286e-05/0.9469, allocations: 4.859 kB / 1.213 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/0.9471, allocations: 344.5 kB / 1.213 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.9471, allocations: 30.56 kB / 1.213 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.9471, allocations: 0 / 1.213 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.000148/0.9473, allocations: 41.81 kB / 1.213 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.9473, allocations: 59.34 kB / 1.213 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.9474, allocations: 101.8 kB / 1.213 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.9474, allocations: 25.7 kB / 1.213 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/0.9475, allocations: 92.03 kB / 1.213 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.081e-06/0.9475, allocations: 3.906 kB / 1.213 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.9475, allocations: 17.72 kB / 1.213 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.861e-05/0.9476, allocations: 314.8 kB / 1.214 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.9476, allocations: 12 kB / 1.214 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.613e-05/0.9477, allocations: 17.7 kB / 1.214 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.045e-05/0.9477, allocations: 17.72 kB / 1.214 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.9477, allocations: 0 / 1.214 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.918e-05/0.9478, allocations: 53.62 kB / 1.214 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.9478, allocations: 4 kB / 1.214 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.9478, allocations: 4.062 kB / 1.214 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.9478, allocations: 0 / 1.214 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.151e-05/0.9479, allocations: 8 kB / 1.214 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.9479, allocations: 0 / 1.214 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.554e-05/0.9479, allocations: 0 / 1.214 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.9479, allocations: 7.984 kB / 1.214 GB, free: 6.934 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.453e-05/0.948, allocations: 113.7 kB / 1.214 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.948, allocations: 4 kB / 1.214 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.338e-05/0.9481, allocations: 117 kB / 1.214 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.498e-05/0.9482, allocations: 184.2 kB / 1.214 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.557e-05/0.9483, allocations: 188.2 kB / 1.214 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.701e-05/0.9483, allocations: 184.2 kB / 1.215 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.9485, allocations: 409.1 kB / 1.215 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.765e-05/0.9486, allocations: 105 kB / 1.215 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.952e-05/0.9486, allocations: 104.9 kB / 1.215 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.374e-05/0.9486, allocations: 180.3 kB / 1.215 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.624e-05/0.9487, allocations: 184.4 kB / 1.216 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.792e-05/0.9488, allocations: 184.2 kB / 1.216 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.133e-05/0.9488, allocations: 176.3 kB / 1.216 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.9489, allocations: 315.6 kB / 1.216 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.813e-05/0.949, allocations: 186.1 kB / 1.216 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.38e-05/0.9491, allocations: 180.2 kB / 1.217 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.9492, allocations: 105 kB / 1.217 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.9493, allocations: 188.2 kB / 1.217 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.9493, allocations: 105 kB / 1.217 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.874e-05/0.9494, allocations: 83.28 kB / 1.217 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9494, allocations: 0 / 1.217 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002639/0.9496, allocations: 39.92 kB / 1.217 GB, free: 3.449 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.0002399/0.9499, allocations: 234.4 kB / 1.217 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.89e-05/0.95, allocations: 15.94 kB / 1.217 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.95, allocations: 0 / 1.217 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.95, allocations: 0 / 1.217 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.9504, allocations: 469.7 kB / 1.218 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.9506, allocations: 188.6 kB / 1.218 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.9508, allocations: 0.6768 MB / 1.219 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.52e-05/0.9509, allocations: 8 kB / 1.219 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.488e-05/0.9509, allocations: 11.44 kB / 1.219 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.9509, allocations: 3.938 kB / 1.219 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of Templates: time 0.003316/0.9542, allocations: 1.208 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/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