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.001465/0.001465, allocations: 109.1 kB / 16.41 MB, free: 6.5 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.001472/0.001472, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.379/1.379, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.579/2.579, allocations: 461.9 MB / 0.7355 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 67.84 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.989/0.9911, 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.00811/0.9992, allocations: 3.273 MB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001947/0.9995, allocations: 55.78 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.708e-05/0.9995, allocations: 4 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.9997, allocations: 3.938 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.9998, allocations: 11.92 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/1.001, allocations: 183.2 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/1.001, allocations: 31.91 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.01e-05/1.001, allocations: 4 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/1.001, allocations: 23.91 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/1.001, allocations: 15.94 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/1.001, allocations: 0 / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006321/1.002, allocations: 175.5 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.232e-05/1.002, allocations: 7.984 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/1.002, allocations: 11.94 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004444/1.003, allocations: 131.6 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.003, allocations: 0 / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.974e-06/1.003, allocations: 0 / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.616e-05/1.003, allocations: 0 / 1.212 GB, free: 9.688 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.0005913/1.003, allocations: 345.3 kB / 1.213 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.167e-05/1.003, allocations: 12.03 kB / 1.213 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.18e-05/1.003, allocations: 8.828 kB / 1.213 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/1.004, allocations: 160.4 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.363e-05/1.004, allocations: 34.25 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/1.004, allocations: 384 / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/1.004, allocations: 45.62 kB / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/1.004, allocations: 0 / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/1.004, allocations: 3.938 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.359e-05/1.004, allocations: 8 kB / 1.213 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.313e-05/1.004, allocations: 15.98 kB / 1.213 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009936/1.005, allocations: 0.5833 MB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.408e-05/1.005, allocations: 18.58 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.718e-05/1.005, allocations: 4.859 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003956/1.006, allocations: 348.5 kB / 1.214 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/1.006, allocations: 34.56 kB / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 2.334e-06/1.006, allocations: 0 / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0002044/1.006, allocations: 33.64 kB / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/1.006, allocations: 59.41 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/1.006, allocations: 101.8 kB / 1.214 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/1.006, allocations: 25.7 kB / 1.214 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.361e-05/1.006, allocations: 92.05 kB / 1.214 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.109e-05/1.006, allocations: 8.031 kB / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/1.006, allocations: 17.7 kB / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.007, allocations: 318.8 kB / 1.214 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.922e-05/1.007, allocations: 4 kB / 1.214 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.693e-05/1.007, allocations: 13.72 kB / 1.214 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.996e-05/1.007, allocations: 25.64 kB / 1.214 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/1.007, allocations: 4 kB / 1.214 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001641/1.007, allocations: 45.7 kB / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.007, allocations: 7.984 kB / 1.215 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/1.007, allocations: 0 / 1.215 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/1.007, allocations: 0 / 1.215 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.539e-05/1.007, allocations: 7.938 kB / 1.215 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/1.007, allocations: 4 kB / 1.215 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.572e-05/1.007, allocations: 0 / 1.215 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/1.007, allocations: 0 / 1.215 GB, free: 6.949 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 0.0001028/1.007, allocations: 123.3 kB / 1.215 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/1.007, allocations: 3.938 kB / 1.215 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/1.008, allocations: 122.8 kB / 1.215 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.999e-05/1.008, allocations: 180.5 kB / 1.215 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.964e-05/1.008, allocations: 105 kB / 1.215 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/1.008, allocations: 193.9 kB / 1.215 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/1.008, allocations: 184.3 kB / 1.215 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/1.008, allocations: 116.9 kB / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.397e-05/1.008, allocations: 184.2 kB / 1.216 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001217/1.008, allocations: 251.5 kB / 1.216 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002561/1.009, allocations: 391.2 kB / 1.216 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.11e-05/1.009, allocations: 104.9 kB / 1.216 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.676e-05/1.009, allocations: 83.27 kB / 1.217 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of Backend: time 5.71e-07/1.009, allocations: 0 / 1.217 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007819/1.01, allocations: 142.3 kB / 1.217 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0007679/1.011, allocations: 0.86 MB / 1.217 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of Templates: time 0.006317/1.017, allocations: 1.137 MB / 1.219 GB, free: 2.691 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