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.001349/0.001349, allocations: 100.1 kB / 15.88 MB, free: 12 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.001307/0.001307, allocations: 196 kB / 16.79 MB, free: 6.809 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.35/1.35, allocations: 222.9 MB / 240.5 MB, free: 4.594 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.506/2.506, allocations: 437 MB / 0.7106 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 59.91 kB / 0.8692 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5942/0.5957, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004383/0.6001, allocations: 3.356 MB / 1.021 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 9.017e-05/0.6002, allocations: 55.84 kB / 1.021 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.392e-05/0.6003, allocations: 4 kB / 1.021 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.201e-05/0.6004, allocations: 0 / 1.021 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.777e-05/0.6004, allocations: 11.92 kB / 1.021 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.6009, allocations: 183 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.321e-05/0.601, allocations: 51.83 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 2.766e-05/0.601, allocations: 8 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.188e-05/0.601, allocations: 15.98 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.849e-05/0.6011, allocations: 11.92 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.6011, allocations: 4 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003192/0.6014, allocations: 171.5 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.673e-05/0.6015, allocations: 3.984 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.6015, allocations: 16 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.6017, allocations: 85.8 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.6017, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.62e-07/0.6017, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.6017, allocations: 4 kB / 1.021 GB, free: 14.82 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.0004369/0.6022, allocations: 347.5 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.6022, allocations: 12.03 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.6022, allocations: 0.9375 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.6024, allocations: 160.4 kB / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/0.6024, allocations: 30.27 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.6025, allocations: 384 / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.6026, allocations: 53.55 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.6026, allocations: 4 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.6026, allocations: 7.938 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.6026, allocations: 0 / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.394e-05/0.6027, allocations: 11.98 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005804/0.6033, allocations: 0.591 MB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.431e-05/0.6033, allocations: 14.58 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.6033, allocations: 8.859 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000232/0.6036, allocations: 352.4 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.6036, allocations: 34.5 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.6036, allocations: 0 / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001323/0.6037, allocations: 37.69 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.6038, allocations: 51.41 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.325e-05/0.6039, allocations: 101.8 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.6039, allocations: 25.83 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.6039, allocations: 100 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-06/0.604, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.604, allocations: 13.72 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.93e-05/0.6041, allocations: 318.8 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.6041, allocations: 7.984 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-05/0.6041, allocations: 21.66 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.172e-05/0.6042, allocations: 21.72 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6042, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.21e-05/0.6043, allocations: 57.53 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.6043, allocations: 4 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.6043, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.6043, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.134e-05/0.6044, allocations: 8 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.6044, allocations: 0 / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.6044, allocations: 8.047 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.6044, allocations: 4 kB / 1.023 GB, free: 12.07 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.361e-05/0.6045, allocations: 110.3 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.6045, allocations: 0 / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.6046, allocations: 120.9 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.145e-05/0.6047, allocations: 180.2 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.625e-05/0.6048, allocations: 188.2 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.163e-05/0.6048, allocations: 176.3 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.605, allocations: 413.2 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-05/0.6051, allocations: 104.9 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.485e-05/0.6051, allocations: 101 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.389e-05/0.6052, allocations: 184.2 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.323e-05/0.6052, allocations: 184.3 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.044e-05/0.6053, allocations: 180.3 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.154e-05/0.6054, allocations: 180.2 kB / 1.025 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.6055, allocations: 311.6 kB / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.849e-05/0.6056, allocations: 194 kB / 1.026 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.383e-05/0.6057, allocations: 176.3 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.6058, allocations: 112.9 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.6059, allocations: 176.3 kB / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.6059, allocations: 104.9 kB / 1.027 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.886e-05/0.606, allocations: 87.28 kB / 1.027 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.606, allocations: 4 kB / 1.027 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002952/0.6063, allocations: 35.92 kB / 1.027 GB, free: 8.594 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.0002596/0.6066, allocations: 244.3 kB / 1.027 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.185e-05/0.6066, allocations: 8 kB / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.6066, allocations: 0 / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.926e-06/0.6066, allocations: 3.938 kB / 1.027 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.6071, allocations: 0.5263 MB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002413/0.6073, allocations: 209.4 kB / 1.028 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.6076, allocations: 0.6812 MB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/0.6076, allocations: 15.44 kB / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.6076, allocations: 0 / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of Templates: time 0.002553/0.6101, allocations: 1.183 MB / 1.029 GB, free: 5.676 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