Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008899/0.0008896, allocations: 98.88 kB / 16.02 MB, free: 72 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.001226/0.001226, allocations: 181.3 kB / 16.92 MB, free: 6.918 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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.616/2.616, allocations: 437.8 MB / 0.7128 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003393, allocations: 8 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5677/0.568, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003946/0.572, allocations: 2.981 MB / 1.027 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001035/0.5722, allocations: 63.78 kB / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.476e-05/0.5722, allocations: 0 / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.289e-05/0.5723, allocations: 0 / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.244e-05/0.5724, allocations: 11.92 kB / 1.027 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005405/0.5729, allocations: 171.3 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.573, allocations: 59.83 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.287e-05/0.5731, allocations: 0 / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.12e-05/0.5731, allocations: 19.98 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.719e-05/0.5732, allocations: 11.92 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.5732, allocations: 4 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.5736, allocations: 171.5 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.5736, allocations: 3.984 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.649e-05/0.5737, allocations: 33.7 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.5739, allocations: 93.78 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.5739, allocations: 4 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5739, allocations: 0 / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.5739, allocations: 4 kB / 1.027 GB, free: 12.24 MB / 0.7794 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.0003743/0.5743, allocations: 345.3 kB / 1.028 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.5743, allocations: 8.031 kB / 1.028 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.5744, allocations: 0.9375 kB / 1.028 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.5745, allocations: 168.4 kB / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.921e-05/0.5745, allocations: 30.2 kB / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-06/0.5746, allocations: 384 / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.5747, allocations: 53.56 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.5747, allocations: 4 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.5747, allocations: 0 / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.5747, allocations: 3.984 kB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.516e-05/0.5748, allocations: 12 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006163/0.5754, allocations: 0.5794 MB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.675e-05/0.5755, allocations: 18.58 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.915e-05/0.5755, allocations: 16.86 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002343/0.5757, allocations: 340.4 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.5758, allocations: 30.56 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.5758, allocations: 3.938 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001387/0.5759, allocations: 41.61 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.576, allocations: 51.41 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.529e-05/0.5761, allocations: 105.9 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.5761, allocations: 29.7 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.5761, allocations: 92.03 kB / 1.029 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-06/0.5761, allocations: 0 / 1.029 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/0.5762, allocations: 13.7 kB / 1.029 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.5763, allocations: 318.8 kB / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.5763, allocations: 7.938 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.083e-05/0.5763, allocations: 13.72 kB / 1.029 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.445e-05/0.5764, allocations: 29.7 kB / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.5764, allocations: 0 / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.927e-05/0.5765, allocations: 41.64 kB / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.5765, allocations: 10.02 kB / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5765, allocations: 4 kB / 1.03 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.5765, allocations: 0 / 1.03 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.538e-05/0.5766, allocations: 8 kB / 1.03 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.5766, allocations: 4.062 kB / 1.03 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.007e-05/0.5766, allocations: 4 kB / 1.03 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.5766, allocations: 4 kB / 1.03 GB, free: 9.504 MB / 0.7794 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.666e-05/0.5767, allocations: 110.3 kB / 1.03 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.5767, allocations: 7.906 kB / 1.03 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.5768, allocations: 124.9 kB / 1.03 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.263e-05/0.5769, allocations: 176.3 kB / 1.03 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-05/0.577, allocations: 184.2 kB / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.824e-05/0.577, allocations: 180.2 kB / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.5772, allocations: 405.2 kB / 1.031 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-05/0.5773, allocations: 108.9 kB / 1.031 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.5773, allocations: 105 kB / 1.031 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.577e-05/0.5774, allocations: 192.4 kB / 1.031 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.656e-05/0.5775, allocations: 176.3 kB / 1.031 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.837e-05/0.5775, allocations: 180.2 kB / 1.031 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-05/0.5776, allocations: 188.2 kB / 1.032 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.5777, allocations: 311.7 kB / 1.032 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.393e-05/0.5778, allocations: 186.1 kB / 1.032 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.5779, allocations: 184.4 kB / 1.032 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.578, allocations: 105 kB / 1.032 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.5781, allocations: 184.3 kB / 1.032 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.5782, allocations: 108.9 kB / 1.033 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.191e-05/0.5782, allocations: 87.28 kB / 1.033 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5782, allocations: 0 / 1.033 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002836/0.5785, allocations: 35.92 kB / 1.033 GB, free: 6.016 MB / 0.7794 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.0002588/0.5788, allocations: 240.5 kB / 1.033 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.072e-05/0.5788, allocations: 4 kB / 1.033 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5788, allocations: 0 / 1.033 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.949e-06/0.5789, allocations: 7.938 kB / 1.033 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.5793, allocations: 0.5264 MB / 1.033 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002641/0.5796, allocations: 205.6 kB / 1.034 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.5798, allocations: 0.677 MB / 1.034 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/0.5798, allocations: 7.438 kB / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.5798, allocations: 0 / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of Templates: time 0.002707/0.5826, allocations: 1.187 MB / 1.035 GB, free: 3.109 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches