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.001558/0.001558, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001585/0.001585, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.419/1.419, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.618/2.618, allocations: 437.1 MB / 0.7111 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 64.27 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3031, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005096/0.3082, allocations: 3.293 MB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 9.585e-05/0.3083, allocations: 51.84 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.125e-05/0.3083, allocations: 0 / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.586e-05/0.3085, allocations: 3.938 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.54e-05/0.3085, allocations: 15.97 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004912/0.309, allocations: 179.7 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.305e-05/0.3091, allocations: 39.84 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 2.913e-05/0.3091, allocations: 3.984 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.357e-05/0.3092, allocations: 8 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.742e-05/0.3092, allocations: 19.91 kB / 1.022 GB, free: 7.008 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.3093, allocations: 0 / 1.022 GB, free: 7.008 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003449/0.3096, allocations: 167.6 kB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.3097, allocations: 8 kB / 1.022 GB, free: 6.836 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.3097, allocations: 15.94 kB / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.31, allocations: 136 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.31, allocations: 4 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.022e-06/0.31, allocations: 0 / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.187e-06/0.31, allocations: 0 / 1.022 GB, free: 6.684 MB / 0.795 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.0004196/0.3104, allocations: 343.5 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.3104, allocations: 8.922 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.3105, allocations: 0.9375 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.3106, allocations: 172.3 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.77e-05/0.3107, allocations: 34.27 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.3107, allocations: 384 / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.3108, allocations: 53.55 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3109, allocations: 0 / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.3109, allocations: 0 / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.3109, allocations: 0 / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.463e-05/0.3109, allocations: 19.98 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006586/0.3116, allocations: 0.5832 MB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.014e-05/0.3117, allocations: 18.58 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.487e-05/0.3117, allocations: 12.86 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002627/0.312, allocations: 340.4 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.312, allocations: 38.5 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.312, allocations: 0 / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.000145/0.3122, allocations: 41.78 kB / 1.023 GB, free: 4.719 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.3122, allocations: 55.44 kB / 1.023 GB, free: 4.652 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.479e-05/0.3123, allocations: 101.9 kB / 1.024 GB, free: 4.543 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.3123, allocations: 25.7 kB / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.3124, allocations: 92.02 kB / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-06/0.3124, allocations: 0 / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.3124, allocations: 17.72 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3126, allocations: 314.8 kB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.3126, allocations: 15.92 kB / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.179e-05/0.3126, allocations: 13.72 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.302e-05/0.3127, allocations: 21.72 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3127, allocations: 0 / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.043e-05/0.3127, allocations: 53.53 kB / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.3128, allocations: 4 kB / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.3128, allocations: 64 / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3128, allocations: 8 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.688e-05/0.3128, allocations: 7.938 kB / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3129, allocations: 3.984 kB / 1.024 GB, free: 3.934 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.3129, allocations: 3.938 kB / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.3129, allocations: 4 kB / 1.024 GB, free: 3.926 MB / 0.795 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 7.975e-05/0.313, allocations: 113.8 kB / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.313, allocations: 4 kB / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.3131, allocations: 120.9 kB / 1.024 GB, free: 3.672 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001317/0.3133, allocations: 180.3 kB / 1.025 GB, free: 3.488 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.936e-05/0.3134, allocations: 180.2 kB / 1.025 GB, free: 3.305 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.668e-05/0.3135, allocations: 180.3 kB / 1.025 GB, free: 3.121 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.3137, allocations: 409.1 kB / 1.025 GB, free: 2.664 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.241e-05/0.3138, allocations: 105.1 kB / 1.025 GB, free: 2.555 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-05/0.3138, allocations: 109 kB / 1.025 GB, free: 2.441 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.621e-05/0.3139, allocations: 188.2 kB / 1.026 GB, free: 2.25 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.947e-05/0.314, allocations: 176.3 kB / 1.026 GB, free: 2.07 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.217e-05/0.3141, allocations: 180.2 kB / 1.026 GB, free: 1.887 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001263/0.3142, allocations: 176.3 kB / 1.026 GB, free: 1.707 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.3145, allocations: 323.7 kB / 1.026 GB, free: 1.367 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.242e-05/0.3145, allocations: 178.1 kB / 1.027 GB, free: 1.168 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.746e-05/0.3146, allocations: 180.2 kB / 1.027 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.3148, allocations: 109 kB / 1.027 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/0.3149, allocations: 184.3 kB / 1.027 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.111e-05/0.315, allocations: 104.9 kB / 1.027 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.332e-05/0.315, allocations: 87.28 kB / 1.027 GB, free: 500 kB / 0.795 GB Notification: Performance of sort global known variables: time 2.81e-07/0.315, allocations: 3.938 kB / 1.027 GB, free: 496 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003316/0.3154, allocations: 39.98 kB / 1.027 GB, free: 456 kB / 0.795 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.0002689/0.3156, allocations: 232 kB / 1.028 GB, free: 216 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.825e-05/0.3157, allocations: 12 kB / 1.028 GB, free: 204 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3157, allocations: 0 / 1.028 GB, free: 204 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.979e-06/0.3157, allocations: 3.938 kB / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.3162, allocations: 467.7 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.3165, allocations: 208 kB / 1.028 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.3168, allocations: 0.6768 MB / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.3168, allocations: 7.438 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3168, allocations: 0 / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of Templates: time 0.002791/0.3196, allocations: 1.192 MB / 1.03 GB, free: 13.61 MB / 0.8106 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/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