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.001093/0.001093, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001421/0.001421, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 223.3 MB / 240 MB, free: 5.426 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.893/2.893, allocations: 437.7 MB / 0.7117 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003499, allocations: 12 kB / 0.8722 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7902/0.7906, allocations: 153.8 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003992/0.7946, allocations: 2.88 MB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001125/0.7948, allocations: 59.88 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.829e-05/0.7948, allocations: 0 / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.7949, allocations: 4 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.409e-05/0.795, allocations: 15.91 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.7955, allocations: 139.3 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.991e-05/0.7956, allocations: 43.78 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.7956, allocations: 3.984 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.9e-05/0.7957, allocations: 23.98 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.632e-05/0.7958, allocations: 11.92 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.7958, allocations: 4 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002503/0.796, allocations: 87.73 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.124e-05/0.7961, allocations: 11.98 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.7961, allocations: 25.7 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.7963, allocations: 61.91 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.7963, allocations: 0 / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7963, allocations: 0 / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.7963, allocations: 0 / 1.026 GB, free: 12.67 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.0003825/0.7967, allocations: 343.2 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.7968, allocations: 8.562 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.7968, allocations: 4 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.7969, allocations: 163.1 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.539e-05/0.797, allocations: 33.59 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.797, allocations: 4 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.7972, allocations: 37.69 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7972, allocations: 4 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.7972, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.7972, allocations: 3.984 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.591e-05/0.7973, allocations: 16 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000665/0.7979, allocations: 0.5833 MB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.048e-05/0.798, allocations: 26.52 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.798, allocations: 8.844 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002269/0.7983, allocations: 340.5 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.7983, allocations: 34.56 kB / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.7983, allocations: 0 / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001534/0.7985, allocations: 37.61 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.7985, allocations: 55.34 kB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.841e-05/0.7986, allocations: 113.8 kB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.7986, allocations: 25.7 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.7987, allocations: 88.17 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-06/0.7987, allocations: 0 / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.7987, allocations: 4 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.7988, allocations: 326.7 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.7988, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.477e-05/0.7989, allocations: 13.72 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.34e-05/0.7989, allocations: 7.984 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.7989, allocations: 4 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.434e-05/0.799, allocations: 49.64 kB / 1.028 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.799, allocations: 7.938 kB / 1.028 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.799, allocations: 0 / 1.028 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.799, allocations: 4 kB / 1.028 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.817e-05/0.7991, allocations: 7.984 kB / 1.028 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.7991, allocations: 4 kB / 1.028 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.7991, allocations: 0 / 1.028 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.7991, allocations: 0 / 1.028 GB, free: 9.969 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.364e-05/0.7992, allocations: 121.9 kB / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.7993, allocations: 3.906 kB / 1.028 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.7994, allocations: 120.9 kB / 1.028 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.274e-05/0.7995, allocations: 180.3 kB / 1.028 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.156e-05/0.7995, allocations: 184.2 kB / 1.029 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.505e-05/0.7996, allocations: 180.3 kB / 1.029 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.7998, allocations: 409.2 kB / 1.029 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-05/0.7999, allocations: 104.9 kB / 1.029 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.7999, allocations: 105 kB / 1.029 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.106e-05/0.8, allocations: 180.2 kB / 1.029 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-05/0.8001, allocations: 180.3 kB / 1.03 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.387e-05/0.8002, allocations: 184.3 kB / 1.03 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.395e-05/0.8002, allocations: 180.2 kB / 1.03 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.8004, allocations: 311.7 kB / 1.03 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.971e-05/0.8005, allocations: 182.1 kB / 1.03 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-05/0.8005, allocations: 188.2 kB / 1.031 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.8007, allocations: 108.9 kB / 1.031 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.8008, allocations: 176.3 kB / 1.031 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.8008, allocations: 104.9 kB / 1.031 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.01e-05/0.8009, allocations: 91.27 kB / 1.031 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8009, allocations: 0 / 1.031 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002868/0.8012, allocations: 27.94 kB / 1.031 GB, free: 6.496 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002664/0.8014, allocations: 230.7 kB / 1.031 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.515e-05/0.8015, allocations: 19.98 kB / 1.031 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.8015, allocations: 0 / 1.031 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.8015, allocations: 0 / 1.031 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.802, allocations: 0.5337 MB / 1.032 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.8023, allocations: 188.1 kB / 1.032 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.8026, allocations: 0.6731 MB / 1.033 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.504e-05/0.8026, allocations: 7.984 kB / 1.033 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.584e-05/0.8026, allocations: 7.438 kB / 1.033 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.8026, allocations: 0 / 1.033 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of Templates: time 0.003613/0.8063, allocations: 1.13 MB / 1.034 GB, free: 3.691 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/jenkins/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