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.001088/0.001088, allocations: 110.8 kB / 16.41 MB, free: 5.973 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.001125/0.001125, allocations: 187.1 kB / 17.35 MB, free: 5.586 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.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.193/2.193, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.89 kB / 0.9515 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6956/0.6968, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00413/0.701, allocations: 3.28 MB / 1.092 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 8.609e-05/0.7011, allocations: 54.78 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.7012, allocations: 0 / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.631e-05/0.7013, allocations: 6.453 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.656e-05/0.7013, allocations: 13.19 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.7018, allocations: 196.3 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.006e-05/0.7019, allocations: 30.41 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.702, allocations: 5.875 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.071e-05/0.702, allocations: 19.84 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.557e-05/0.7021, allocations: 11.8 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.7021, allocations: 5.5 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003387/0.7024, allocations: 174.2 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.278e-05/0.7025, allocations: 5.609 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.538e-05/0.7025, allocations: 9.859 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.7028, allocations: 141 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.7028, allocations: 0 / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.285e-06/0.7028, allocations: 1.484 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.7029, allocations: 0 / 1.092 GB, free: 2.898 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.0003227/0.7032, allocations: 346.7 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.7032, allocations: 13.25 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.7033, allocations: 3.125 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.626e-05/0.7033, allocations: 165.9 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.799e-05/0.7034, allocations: 28.69 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.7034, allocations: 1.219 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.7036, allocations: 47.62 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.7036, allocations: 0 / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.7036, allocations: 0.6562 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.7036, allocations: 5.312 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.693e-05/0.7037, allocations: 17.77 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005202/0.7042, allocations: 0.5845 MB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.169e-05/0.7042, allocations: 16.36 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.444e-05/0.7043, allocations: 6.594 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001662/0.7044, allocations: 343.9 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.7045, allocations: 35.31 kB / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.874e-06/0.7045, allocations: 0 / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001374/0.7046, allocations: 41.83 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.764e-05/0.7046, allocations: 56.14 kB / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.034e-05/0.7047, allocations: 107 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.7047, allocations: 25.7 kB / 1.094 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.7048, allocations: 86.23 kB / 1.094 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.804e-06/0.7048, allocations: 9.594 kB / 1.094 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.7048, allocations: 18.08 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.643e-05/0.7049, allocations: 316.9 kB / 1.095 GB, free: 476 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.7049, allocations: 8.219 kB / 1.095 GB, free: 472 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.101e-05/0.7049, allocations: 14.28 kB / 1.095 GB, free: 456 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.147e-05/0.705, allocations: 25.84 kB / 1.095 GB, free: 432 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.705, allocations: 4 kB / 1.095 GB, free: 428 kB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.219e-05/0.705, allocations: 45.72 kB / 1.095 GB, free: 392 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.7051, allocations: 8 kB / 1.095 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.7051, allocations: 1.766 kB / 1.095 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.7051, allocations: 0 / 1.095 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.685e-05/0.7051, allocations: 10.22 kB / 1.095 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.7052, allocations: 0.8438 kB / 1.095 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.7052, allocations: 5.453 kB / 1.095 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.7052, allocations: 1.906 kB / 1.095 GB, free: 384 kB / 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 5.628e-05/0.7053, allocations: 116.9 kB / 1.095 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.7053, allocations: 2.094 kB / 1.095 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.354e-05/0.7054, allocations: 118.4 kB / 1.095 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.735e-05/0.7054, allocations: 182 kB / 1.095 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.308e-05/0.7055, allocations: 105.6 kB / 1.095 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.365e-05/0.7056, allocations: 185.4 kB / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.91e-05/0.7056, allocations: 181.9 kB / 1.096 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.7058, allocations: 109.9 kB / 1.096 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.731e-05/0.7059, allocations: 181.9 kB / 1.096 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.905e-05/0.706, allocations: 257.1 kB / 1.096 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001807/0.7062, allocations: 394.1 kB / 1.097 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.188e-05/0.7062, allocations: 111.4 kB / 1.097 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.631e-05/0.7063, allocations: 82.45 kB / 1.097 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of Backend: time 1.91e-07/0.7063, allocations: 0 / 1.097 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005381/0.7068, allocations: 150.7 kB / 1.097 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0005288/0.7074, allocations: 0.8635 MB / 1.098 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of Templates: time 0.003763/0.7111, allocations: 1.122 MB / 1.099 GB, free: 13.14 MB / 0.8731 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/jenkins1/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