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.001659/0.001659, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.002217/0.002217, allocations: 193.1 kB / 16.14 MB, free: 6.711 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.621/1.621, allocations: 222.9 MB / 239.8 MB, free: 4.547 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.966/2.966, allocations: 437 MB / 0.7099 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.89 kB / 0.8685 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7193/0.7213, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006916/0.7283, allocations: 3.786 MB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002517/0.7286, allocations: 151.5 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.763e-05/0.7286, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.7288, allocations: 15.92 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.333e-05/0.7289, allocations: 7.922 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.7292, allocations: 75.81 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.7293, allocations: 59.83 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.655e-05/0.7294, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.431e-05/0.7295, allocations: 19.91 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.373e-05/0.7296, allocations: 12 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.7296, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006652/0.7302, allocations: 195.5 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.762e-05/0.7303, allocations: 7.984 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.7304, allocations: 15.94 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.7305, allocations: 41.92 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7305, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.072e-06/0.7306, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.7306, allocations: 7.875 kB / 1.021 GB, free: 14.35 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.0005254/0.7311, allocations: 339.5 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.7311, allocations: 8.031 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.7312, allocations: 12.84 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.7314, allocations: 164.4 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.295e-05/0.7314, allocations: 26.27 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.7315, allocations: 4.375 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.7316, allocations: 45.61 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.7316, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.7317, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.7317, allocations: 11.94 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.471e-05/0.7317, allocations: 15.92 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000557/0.7323, allocations: 338 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.587e-05/0.7324, allocations: 14.58 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.845e-05/0.7324, allocations: 4.922 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-05/0.7325, allocations: 89.09 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.7325, allocations: 34.56 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.7325, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001835/0.7327, allocations: 41.64 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.7328, allocations: 51.41 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.7329, allocations: 101.8 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.7329, allocations: 25.7 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.733, allocations: 88.05 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.224e-05/0.733, allocations: 7.844 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.7331, allocations: 21.7 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.7332, allocations: 318.9 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.7333, allocations: 4 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.188e-05/0.7333, allocations: 21.89 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.119e-05/0.7333, allocations: 17.66 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7333, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.336e-05/0.7334, allocations: 49.78 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.7335, allocations: 9.312 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.7335, allocations: 3.984 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.7335, allocations: 0 / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.332e-05/0.7336, allocations: 15.88 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.7336, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.7336, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.7336, allocations: 4 kB / 1.023 GB, free: 12.22 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.799e-05/0.7337, allocations: 113.8 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.7337, allocations: 3.984 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.7339, allocations: 124.9 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001022/0.734, allocations: 180.2 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001608/0.7342, allocations: 188.2 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.496e-05/0.7343, allocations: 180.2 kB / 1.023 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/0.7347, allocations: 405.2 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.533e-05/0.7347, allocations: 109 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.068e-05/0.7348, allocations: 104.9 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.565e-05/0.7349, allocations: 176.3 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.183e-05/0.735, allocations: 184.2 kB / 1.024 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.697e-05/0.7351, allocations: 180.2 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.431e-05/0.7352, allocations: 184.3 kB / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.7354, allocations: 307.7 kB / 1.025 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.7355, allocations: 194 kB / 1.025 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.7356, allocations: 176.3 kB / 1.025 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.7358, allocations: 105 kB / 1.025 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.016e-05/0.7359, allocations: 192.2 kB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.021e-05/0.736, allocations: 105 kB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.862e-05/0.736, allocations: 79.28 kB / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.41e-07/0.736, allocations: 0 / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002751/0.7363, allocations: 16 kB / 1.026 GB, free: 8.766 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.0003295/0.7366, allocations: 207 kB / 1.026 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.431e-05/0.7367, allocations: 11.94 kB / 1.026 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7367, allocations: 0 / 1.026 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.7367, allocations: 0 / 1.026 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005081/0.7373, allocations: 0.532 MB / 1.027 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.7376, allocations: 175.7 kB / 1.027 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.7379, allocations: 0.677 MB / 1.027 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.659e-05/0.7379, allocations: 7.75 kB / 1.027 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.997e-05/0.738, allocations: 11.44 kB / 1.027 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.738, allocations: 0 / 1.027 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of Templates: time 0.003593/0.7416, allocations: 0.6306 MB / 1.028 GB, free: 6.465 MB / 0.7794 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches