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.0009265/0.0009266, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.006012/0.006012, allocations: 171.1 kB / 16.27 MB, free: 6.648 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.453/1.453, allocations: 223.3 MB / 240.3 MB, free: 5.246 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.672/2.672, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003858, allocations: 8 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8116/0.812, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005394/0.8175, allocations: 2.986 MB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001058/0.8177, allocations: 55.84 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.879e-05/0.8177, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.8178, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.024e-05/0.8179, allocations: 15.92 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006696/0.8186, allocations: 167.4 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.8187, allocations: 51.89 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.319e-05/0.8188, allocations: 7.984 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.06e-05/0.8188, allocations: 15.92 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.838e-05/0.8189, allocations: 19.92 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.8189, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003939/0.8193, allocations: 167.5 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.166e-05/0.8194, allocations: 7.938 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.8195, allocations: 37.69 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.8199, allocations: 129.7 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8199, allocations: 0 / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8199, allocations: 0 / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.8199, allocations: 4 kB / 1.027 GB, free: 12.14 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.0005451/0.8204, allocations: 347.5 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.8205, allocations: 8.031 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.8206, allocations: 0.9375 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.8207, allocations: 168.3 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.371e-05/0.8208, allocations: 30.2 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.8208, allocations: 4.312 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.821, allocations: 53.59 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.821, allocations: 4 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.821, allocations: 4 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.821, allocations: 0 / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.316e-05/0.8211, allocations: 15.98 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007432/0.8218, allocations: 0.5833 MB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.868e-05/0.8219, allocations: 14.58 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.8219, allocations: 8.922 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002622/0.8222, allocations: 344.4 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.8222, allocations: 30.56 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.462e-06/0.8222, allocations: 0 / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001581/0.8224, allocations: 45.53 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.8224, allocations: 51.41 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.617e-05/0.8225, allocations: 105.8 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.8226, allocations: 29.7 kB / 1.028 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/0.8226, allocations: 92.16 kB / 1.028 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.139e-06/0.8226, allocations: 4 kB / 1.028 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.8227, allocations: 9.719 kB / 1.028 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.8228, allocations: 318.8 kB / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.8228, allocations: 0 / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.807e-05/0.8229, allocations: 21.7 kB / 1.029 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.761e-05/0.8229, allocations: 25.66 kB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8229, allocations: 4 kB / 1.029 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.508e-05/0.823, allocations: 41.69 kB / 1.029 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.823, allocations: 4 kB / 1.029 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.823, allocations: 4 kB / 1.029 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.823, allocations: 0 / 1.029 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.99e-05/0.8231, allocations: 4 kB / 1.029 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.8231, allocations: 3.938 kB / 1.029 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/0.8231, allocations: 11.94 kB / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.8232, allocations: 4 kB / 1.029 GB, free: 9.398 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.263e-05/0.8233, allocations: 118.4 kB / 1.029 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.8233, allocations: 7.906 kB / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.8234, allocations: 113 kB / 1.029 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.57e-05/0.8235, allocations: 184.2 kB / 1.029 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-05/0.8236, allocations: 180.2 kB / 1.029 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.362e-05/0.8237, allocations: 180.3 kB / 1.03 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.824, allocations: 413.1 kB / 1.03 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.403e-05/0.824, allocations: 101 kB / 1.03 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.8241, allocations: 108.9 kB / 1.03 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.98e-05/0.8242, allocations: 184.2 kB / 1.03 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.127e-05/0.8243, allocations: 184.2 kB / 1.031 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.886e-05/0.8244, allocations: 180.3 kB / 1.031 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.202e-05/0.8245, allocations: 184.3 kB / 1.031 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.8246, allocations: 303.7 kB / 1.031 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.8247, allocations: 190 kB / 1.031 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.783e-05/0.8249, allocations: 180.5 kB / 1.032 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.825, allocations: 109 kB / 1.032 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.371e-05/0.8251, allocations: 188.2 kB / 1.032 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.418e-05/0.8252, allocations: 101 kB / 1.032 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.391e-05/0.8253, allocations: 83.28 kB / 1.032 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8253, allocations: 0 / 1.032 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003246/0.8256, allocations: 39.92 kB / 1.032 GB, free: 5.918 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.0003661/0.826, allocations: 238.4 kB / 1.032 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.058e-05/0.8261, allocations: 15.92 kB / 1.032 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8261, allocations: 0 / 1.032 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.209e-06/0.8261, allocations: 4 kB / 1.032 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.8267, allocations: 0.5213 MB / 1.033 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.827, allocations: 195.9 kB / 1.033 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.8274, allocations: 0.677 MB / 1.034 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.509e-05/0.8274, allocations: 7.984 kB / 1.034 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.8275, allocations: 7.438 kB / 1.034 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8275, allocations: 0 / 1.034 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of Templates: time 0.004266/0.8317, allocations: 1.182 MB / 1.035 GB, free: 3.059 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