Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001319/0.001319, allocations: 193.1 kB / 16.91 MB, free: 6.195 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.346/1.346, allocations: 222.9 MB / 240.6 MB, free: 13.74 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.334/2.334, allocations: 437 MB / 0.7107 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 64.38 kB / 0.8694 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2743, allocations: 151.6 MB / 1.017 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005495/0.2798, allocations: 3.766 MB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002044/0.2801, allocations: 163.5 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.2801, allocations: 0 / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.627e-05/0.2802, allocations: 0 / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.537e-05/0.2803, allocations: 15.91 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.2807, allocations: 73.89 kB / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.555e-05/0.2808, allocations: 35.84 kB / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.2808, allocations: 7.984 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.057e-05/0.2809, allocations: 23.88 kB / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.254e-05/0.281, allocations: 11.97 kB / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.281, allocations: 4 kB / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000546/0.2815, allocations: 175.5 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.2816, allocations: 7.984 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.2816, allocations: 15.92 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.674e-05/0.2817, allocations: 32.2 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2817, allocations: 0 / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2817, allocations: 8 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.2817, allocations: 0 / 1.022 GB, free: 6.66 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.0003789/0.2821, allocations: 331.6 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2822, allocations: 8.031 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.2822, allocations: 4.844 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.2823, allocations: 164.4 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.031e-05/0.2824, allocations: 26.27 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.2824, allocations: 4.359 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.2826, allocations: 49.62 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2826, allocations: 0 / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.2826, allocations: 3.938 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.2826, allocations: 4 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.278e-05/0.2827, allocations: 15.98 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.2831, allocations: 334 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.084e-05/0.2831, allocations: 18.58 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.2832, allocations: 8.859 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.72e-05/0.2833, allocations: 85.16 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.2833, allocations: 46.5 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2833, allocations: 0 / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.000139/0.2834, allocations: 33.69 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.2835, allocations: 55.34 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.891e-05/0.2836, allocations: 105.8 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.2836, allocations: 29.83 kB / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.319e-05/0.2836, allocations: 84.05 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.245e-06/0.2837, allocations: 7.906 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.2837, allocations: 17.7 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2838, allocations: 318.8 kB / 1.023 GB, free: 4.684 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.339e-05/0.2838, allocations: 0 / 1.023 GB, free: 4.684 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.514e-05/0.2838, allocations: 25.64 kB / 1.023 GB, free: 4.652 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.456e-05/0.2839, allocations: 21.72 kB / 1.023 GB, free: 4.625 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2839, allocations: 0 / 1.023 GB, free: 4.625 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.683e-05/0.284, allocations: 49.62 kB / 1.023 GB, free: 4.57 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.284, allocations: 8 kB / 1.023 GB, free: 4.562 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.284, allocations: 3.984 kB / 1.023 GB, free: 4.559 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.284, allocations: 3.938 kB / 1.023 GB, free: 4.555 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.357e-05/0.2841, allocations: 4 kB / 1.023 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2841, allocations: 0 / 1.023 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.2841, allocations: 8.062 kB / 1.023 GB, free: 4.543 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.2841, allocations: 0 / 1.023 GB, free: 4.543 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.654e-05/0.2842, allocations: 124.2 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.2842, allocations: 0 / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.2844, allocations: 120.8 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.007e-05/0.2844, allocations: 176.3 kB / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.464e-05/0.2845, allocations: 192.2 kB / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.704e-05/0.2846, allocations: 180.3 kB / 1.024 GB, free: 3.727 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.2848, allocations: 401.2 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.348e-05/0.2848, allocations: 112.9 kB / 1.025 GB, free: 3.16 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.752e-05/0.2848, allocations: 101 kB / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.649e-05/0.2849, allocations: 184.2 kB / 1.025 GB, free: 2.867 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.184e-05/0.285, allocations: 176.3 kB / 1.025 GB, free: 2.688 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.528e-05/0.285, allocations: 184.2 kB / 1.025 GB, free: 2.5 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.274e-05/0.2851, allocations: 184.2 kB / 1.026 GB, free: 2.312 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.2852, allocations: 311.7 kB / 1.026 GB, free: 1.984 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.2853, allocations: 182.1 kB / 1.026 GB, free: 1.781 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.789e-05/0.2854, allocations: 180.3 kB / 1.026 GB, free: 1.598 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.2855, allocations: 104.9 kB / 1.026 GB, free: 1.488 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.2856, allocations: 184.2 kB / 1.026 GB, free: 1.301 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.2856, allocations: 112.9 kB / 1.027 GB, free: 1.184 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.616e-05/0.2857, allocations: 87.28 kB / 1.027 GB, free: 1.098 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2857, allocations: 0 / 1.027 GB, free: 1.098 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002441/0.2859, allocations: 19.94 kB / 1.027 GB, free: 1.078 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.0002657/0.2862, allocations: 202.4 kB / 1.027 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.943e-05/0.2863, allocations: 4.312 kB / 1.027 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2863, allocations: 0 / 1.027 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.528e-06/0.2863, allocations: 8.125 kB / 1.027 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.2867, allocations: 464.5 kB / 1.027 GB, free: 412 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002405/0.2869, allocations: 203.6 kB / 1.027 GB, free: 176 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.2872, allocations: 0.6729 MB / 1.028 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.2872, allocations: 11.44 kB / 1.028 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.2872, allocations: 0 / 1.028 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of Templates: time 0.002043/0.2893, allocations: 0.7609 MB / 1.029 GB, free: 14.71 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches