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.001294/0.001294, allocations: 109.9 kB / 15.99 MB, free: 6.359 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.001253/0.001253, allocations: 195.1 kB / 16.91 MB, free: 6.191 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.409/1.409, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.534/2.534, allocations: 437.1 MB / 0.7107 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.92 kB / 0.8694 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2827, allocations: 151.6 MB / 1.017 GB, free: 11.04 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004987/0.2878, allocations: 3.339 MB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000104/0.2879, allocations: 55.84 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.021e-05/0.2879, allocations: 0 / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.293e-05/0.288, allocations: 3.938 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.947e-05/0.2881, allocations: 11.98 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005165/0.2886, allocations: 174.5 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.53e-05/0.2887, allocations: 31.86 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.2888, allocations: 11.92 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.339e-05/0.2888, allocations: 15.98 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.193e-05/0.2889, allocations: 15.92 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.2889, allocations: 0 / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003391/0.2892, allocations: 179.5 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.749e-05/0.2893, allocations: 4 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.2893, allocations: 19.92 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.2895, allocations: 92.11 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2895, allocations: 0 / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2895, allocations: 0 / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.2896, allocations: 0 / 1.021 GB, free: 7.078 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.0004336/0.29, allocations: 343.5 kB / 1.022 GB, free: 6.695 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.29, allocations: 8.922 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.2901, allocations: 4.938 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.2902, allocations: 160.4 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.686e-05/0.2903, allocations: 30.27 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.2903, allocations: 4.375 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.2905, allocations: 49.56 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.2905, allocations: 0 / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.2905, allocations: 0 / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.2905, allocations: 3.984 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.207e-05/0.2906, allocations: 12 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006962/0.2913, allocations: 0.5871 MB / 1.022 GB, free: 5.668 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.293e-05/0.2913, allocations: 22.58 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.395e-05/0.2913, allocations: 8.797 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000292/0.2916, allocations: 352.4 kB / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.2917, allocations: 34.56 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 2.946e-06/0.2917, allocations: 3.984 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001413/0.2918, allocations: 29.7 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.2919, allocations: 55.53 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.69e-05/0.292, allocations: 105.8 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.292, allocations: 25.7 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.2921, allocations: 84.05 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.695e-06/0.2921, allocations: 4 kB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.2921, allocations: 17.7 kB / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.2923, allocations: 322.7 kB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.2923, allocations: 4 kB / 1.024 GB, free: 4.473 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.2923, allocations: 21.7 kB / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.112e-05/0.2924, allocations: 25.72 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2924, allocations: 0 / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.051e-05/0.2925, allocations: 49.53 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.2925, allocations: 8 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.2925, allocations: 3.938 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.2925, allocations: 4.062 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.276e-05/0.2926, allocations: 4 kB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2926, allocations: 0 / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.548e-05/0.2926, allocations: 11.94 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.2926, allocations: 0 / 1.024 GB, free: 4.328 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 9.201e-05/0.2927, allocations: 117.8 kB / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.2927, allocations: 0 / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.2929, allocations: 127.3 kB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.427e-05/0.293, allocations: 176.3 kB / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.653e-05/0.2931, allocations: 184.2 kB / 1.024 GB, free: 3.703 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.966e-05/0.2931, allocations: 176.3 kB / 1.024 GB, free: 3.523 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.2934, allocations: 413.1 kB / 1.025 GB, free: 3.062 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.467e-05/0.2935, allocations: 101 kB / 1.025 GB, free: 2.957 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.927e-05/0.2935, allocations: 109 kB / 1.025 GB, free: 2.844 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.676e-05/0.2936, allocations: 180.2 kB / 1.025 GB, free: 2.66 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.332e-05/0.2937, allocations: 180.4 kB / 1.025 GB, free: 2.477 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.079e-05/0.2938, allocations: 192.1 kB / 1.026 GB, free: 2.281 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.249e-05/0.2939, allocations: 184.3 kB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.2941, allocations: 307.7 kB / 1.026 GB, free: 1.77 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.2942, allocations: 182.1 kB / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.2943, allocations: 184.2 kB / 1.026 GB, free: 1.379 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.2945, allocations: 109 kB / 1.026 GB, free: 1.266 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.898e-05/0.2946, allocations: 180.3 kB / 1.027 GB, free: 1.082 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.964e-05/0.2946, allocations: 112.9 kB / 1.027 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.13e-05/0.2947, allocations: 83.28 kB / 1.027 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2947, allocations: 0 / 1.027 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002894/0.295, allocations: 28 kB / 1.027 GB, free: 0.8555 MB / 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.0003172/0.2953, allocations: 242.9 kB / 1.027 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.402e-05/0.2954, allocations: 4 kB / 1.027 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2954, allocations: 0 / 1.027 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.727e-06/0.2954, allocations: 3.938 kB / 1.027 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.2959, allocations: 466.5 kB / 1.027 GB, free: 148 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003122/0.2962, allocations: 211.5 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.2965, allocations: 0.6768 MB / 1.028 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.2966, allocations: 7.438 kB / 1.028 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.2966, allocations: 0 / 1.028 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.003003/0.2996, allocations: 1.198 MB / 1.03 GB, free: 14.01 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