Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 105.6 kB / 15.98 MB, free: 6.34 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.001528/0.001528, allocations: 196.5 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.306/1.306, 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.324/2.324, allocations: 437 MB / 0.7107 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.27 kB / 0.8694 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2475, allocations: 151.6 MB / 1.017 GB, free: 11.04 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5679/0.8154, allocations: 133.4 MB / 1.148 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001554/0.8156, allocations: 50.61 kB / 1.148 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.929e-05/0.8156, allocations: 4 kB / 1.148 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.8157, allocations: 4.688 kB / 1.148 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.179e-05/0.8158, allocations: 10.61 kB / 1.148 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008565/0.8167, allocations: 235.8 kB / 1.148 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.29e-05/0.8168, allocations: 37.19 kB / 1.148 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.021e-05/0.8168, allocations: 2.969 kB / 1.148 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.606e-05/0.8168, allocations: 15.25 kB / 1.148 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.864e-05/0.8169, allocations: 12.41 kB / 1.148 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.8169, allocations: 1.25 kB / 1.148 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004402/0.8174, allocations: 244.1 kB / 1.148 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.836e-05/0.8174, allocations: 7.5 kB / 1.148 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.8175, allocations: 20.06 kB / 1.148 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.8177, allocations: 122.7 kB / 1.149 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.8177, allocations: 0 / 1.149 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.514e-06/0.8177, allocations: 5.125 kB / 1.149 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.8177, allocations: 3.938 kB / 1.149 GB, free: 0.5664 MB / 0.8575 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.0004517/0.8182, allocations: 358 kB / 1.149 GB, free: 200 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.8182, allocations: 10.05 kB / 1.149 GB, free: 200 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.8183, allocations: 2.594 kB / 1.149 GB, free: 200 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.299e-05/0.8184, allocations: 162.7 kB / 1.149 GB, free: 0 / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.513e-05/0.8184, allocations: 32.64 kB / 1.149 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.8185, allocations: 6.188 kB / 1.149 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.8186, allocations: 42.84 kB / 1.149 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.8186, allocations: 0 / 1.149 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.8186, allocations: 3.984 kB / 1.149 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.8186, allocations: 1.859 kB / 1.149 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.552e-05/0.8187, allocations: 20.97 kB / 1.149 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006599/0.8193, allocations: 0.5969 MB / 1.15 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 3.706e-05/0.8194, allocations: 21.58 kB / 1.15 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.448e-05/0.8194, allocations: 7.203 kB / 1.15 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001923/0.8196, allocations: 338.1 kB / 1.15 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.8197, allocations: 31.91 kB / 1.15 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.8197, allocations: 0 / 1.15 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1): time 0.0001267/0.8198, allocations: 37.47 kB / 1.15 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.8198, allocations: 52.09 kB / 1.15 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.97e-05/0.8199, allocations: 106.2 kB / 1.15 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.8199, allocations: 27.14 kB / 1.15 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.82, allocations: 87.09 kB / 1.15 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.417e-06/0.82, allocations: 11.92 kB / 1.15 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.82, allocations: 16.92 kB / 1.15 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.8201, allocations: 317.2 kB / 1.151 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.8202, allocations: 6.234 kB / 1.151 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.8202, allocations: 19.88 kB / 1.151 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.983e-05/0.8202, allocations: 29.48 kB / 1.151 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.8202, allocations: 0 / 1.151 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.123e-05/0.8203, allocations: 41.86 kB / 1.151 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.8203, allocations: 5.688 kB / 1.151 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.8203, allocations: 0 / 1.151 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.8204, allocations: 2.016 kB / 1.151 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.438e-05/0.8204, allocations: 13.7 kB / 1.151 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.8204, allocations: 0.75 kB / 1.151 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/0.8205, allocations: 9.188 kB / 1.151 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.8205, allocations: 2.406 kB / 1.151 GB, free: 14.04 MB / 0.8731 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 6.8e-05/0.8205, allocations: 112.6 kB / 1.151 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.8206, allocations: 1.281 kB / 1.151 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.8207, allocations: 120.4 kB / 1.151 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.506e-05/0.8208, allocations: 185.7 kB / 1.151 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.639e-05/0.8208, allocations: 178.3 kB / 1.151 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-05/0.8209, allocations: 181 kB / 1.152 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.8212, allocations: 413.1 kB / 1.152 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.233e-05/0.8212, allocations: 101.7 kB / 1.152 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/0.8213, allocations: 112.1 kB / 1.152 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.203e-05/0.8213, allocations: 177 kB / 1.152 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.757e-05/0.8214, allocations: 182.1 kB / 1.153 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-05/0.8215, allocations: 178.2 kB / 1.153 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001088/0.8216, allocations: 186.1 kB / 1.153 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.8217, allocations: 314 kB / 1.153 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.495e-05/0.8218, allocations: 184.8 kB / 1.153 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.92e-05/0.8219, allocations: 182.6 kB / 1.154 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.8221, allocations: 106.1 kB / 1.154 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.8221, allocations: 180.8 kB / 1.154 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.8222, allocations: 107.1 kB / 1.154 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.146e-05/0.8222, allocations: 88.27 kB / 1.154 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8222, allocations: 0 / 1.154 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003764/0.8226, allocations: 57.72 kB / 1.154 GB, free: 10.64 MB / 0.8731 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.0003571/0.823, allocations: 258.6 kB / 1.154 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.434e-05/0.8231, allocations: 13.27 kB / 1.154 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8231, allocations: 0 / 1.154 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.8231, allocations: 1.125 kB / 1.154 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.8235, allocations: 464.4 kB / 1.155 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.8237, allocations: 209.1 kB / 1.155 GB, free: 9.777 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.8239, allocations: 0.6776 MB / 1.156 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.824, allocations: 12.11 kB / 1.156 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.824, allocations: 0 / 1.156 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of Templates: time 0.002797/0.8268, allocations: 1.234 MB / 1.157 GB, free: 8.918 MB / 0.8731 GB make -j1 -f Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches