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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001404/0.001404, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001368/0.001368, allocations: 193.4 kB / 16.14 MB, free: 6.711 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.517/1.517, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.9/2.9, allocations: 437 MB / 0.7099 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 63.89 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7907/0.7926, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005704/0.7984, allocations: 3.362 MB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001276/0.7986, allocations: 55.84 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.638e-05/0.7986, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.7987, allocations: 7.938 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.755e-05/0.7988, allocations: 7.984 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005396/0.7994, allocations: 167.4 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.7995, allocations: 67.75 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.7995, allocations: 4 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.7996, allocations: 11.98 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.537e-05/0.7997, allocations: 15.92 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.7997, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003791/0.8001, allocations: 171.5 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.8001, allocations: 8 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.8002, allocations: 15.92 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.8005, allocations: 133.7 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8005, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.92e-07/0.8005, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.8005, allocations: 4 kB / 1.021 GB, free: 14.73 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.0005063/0.801, allocations: 348.9 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.8011, allocations: 8.031 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.8012, allocations: 4.938 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.8013, allocations: 164.4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.565e-05/0.8014, allocations: 30.25 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.8014, allocations: 4.375 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.8016, allocations: 45.56 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.8016, allocations: 4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.8016, allocations: 4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.8016, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.88e-05/0.8017, allocations: 15.98 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008024/0.8025, allocations: 0.5832 MB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.74e-05/0.8025, allocations: 18.58 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/0.8026, allocations: 4.859 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003053/0.8029, allocations: 348.4 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.8029, allocations: 38.56 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.8029, allocations: 0 / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001656/0.8031, allocations: 29.7 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.8032, allocations: 51.41 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.8033, allocations: 113.8 kB / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.8033, allocations: 25.83 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.8034, allocations: 88.05 kB / 1.022 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.943e-06/0.8034, allocations: 4 kB / 1.022 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.8035, allocations: 21.7 kB / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.8036, allocations: 314.8 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.8036, allocations: 3.938 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.622e-05/0.8037, allocations: 17.72 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.263e-05/0.8037, allocations: 25.7 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.8037, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.817e-05/0.8038, allocations: 57.48 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.8039, allocations: 15.92 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.8039, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.8039, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.096e-05/0.804, allocations: 4 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.804, allocations: 0 / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.804, allocations: 8.062 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.804, allocations: 0 / 1.023 GB, free: 11.98 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 9.604e-05/0.8041, allocations: 117.8 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.8041, allocations: 0 / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.8043, allocations: 120.9 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.001e-05/0.8044, allocations: 176.3 kB / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001029/0.8045, allocations: 188.2 kB / 1.023 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.891e-05/0.8046, allocations: 180.3 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.8049, allocations: 405.2 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.65e-05/0.805, allocations: 116.9 kB / 1.024 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/0.805, allocations: 101 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.386e-05/0.8051, allocations: 180.2 kB / 1.024 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.879e-05/0.8052, allocations: 180.3 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001009/0.8053, allocations: 180.3 kB / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.249e-05/0.8054, allocations: 184.2 kB / 1.025 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.8057, allocations: 307.7 kB / 1.025 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.8058, allocations: 182.1 kB / 1.025 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.8059, allocations: 188.2 kB / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.8061, allocations: 101 kB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.918e-05/0.8062, allocations: 180.3 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-05/0.8062, allocations: 108.9 kB / 1.026 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.749e-05/0.8063, allocations: 83.27 kB / 1.026 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8063, allocations: 4 kB / 1.026 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003465/0.8067, allocations: 39.94 kB / 1.026 GB, free: 8.512 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.0003477/0.807, allocations: 241.1 kB / 1.026 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.312e-05/0.8071, allocations: 11.98 kB / 1.026 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8071, allocations: 0 / 1.026 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.562e-06/0.8071, allocations: 7.938 kB / 1.026 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006021/0.8078, allocations: 0.5146 MB / 1.027 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003122/0.8081, allocations: 195.7 kB / 1.027 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.8084, allocations: 0.677 MB / 1.028 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.536e-05/0.8085, allocations: 4.844 kB / 1.028 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.005e-05/0.8085, allocations: 7.438 kB / 1.028 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.8085, allocations: 0 / 1.028 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of Templates: time 0.00413/0.8127, allocations: 1.195 MB / 1.029 GB, free: 5.648 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=400 -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