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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001123/0.001123, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.0013/0.001301, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.938/2.938, allocations: 437.7 MB / 0.7117 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005454/0.0005455, allocations: 8 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8413/0.8419, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1664/1.008, allocations: 122.5 MB / 1.142 GB, free: 5.16 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001896/1.009, allocations: 43.77 kB / 1.142 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/1.009, allocations: 4 kB / 1.142 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001822/1.009, allocations: 7.938 kB / 1.142 GB, free: 5.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001177/1.009, allocations: 7.984 kB / 1.142 GB, free: 5.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/1.01, allocations: 187.2 kB / 1.142 GB, free: 4.918 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.246e-05/1.01, allocations: 43.89 kB / 1.142 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/1.01, allocations: 4 kB / 1.142 GB, free: 4.871 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.205e-05/1.01, allocations: 19.91 kB / 1.142 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.679e-05/1.01, allocations: 8 kB / 1.142 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/1.01, allocations: 3.938 kB / 1.142 GB, free: 4.84 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/1.011, allocations: 163.6 kB / 1.143 GB, free: 4.68 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.981e-05/1.011, allocations: 4 kB / 1.143 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/1.011, allocations: 29.7 kB / 1.143 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/1.011, allocations: 97.81 kB / 1.143 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.011, allocations: 0 / 1.143 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.223e-06/1.011, allocations: 4 kB / 1.143 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.748e-06/1.011, allocations: 0 / 1.143 GB, free: 4.543 MB / 0.8887 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.0004303/1.011, allocations: 363.2 kB / 1.143 GB, free: 4.141 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/1.012, allocations: 8.031 kB / 1.143 GB, free: 4.133 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/1.012, allocations: 0 / 1.143 GB, free: 4.133 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/1.012, allocations: 159.1 kB / 1.143 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.551e-05/1.012, allocations: 33.66 kB / 1.143 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/1.012, allocations: 0 / 1.143 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/1.012, allocations: 49.62 kB / 1.143 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.012, allocations: 0 / 1.143 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/1.012, allocations: 4 kB / 1.143 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/1.012, allocations: 0 / 1.143 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.695e-05/1.012, allocations: 11.98 kB / 1.143 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000788/1.013, allocations: 0.595 MB / 1.144 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.066e-05/1.013, allocations: 30.5 kB / 1.144 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/1.013, allocations: 8.922 kB / 1.144 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/1.013, allocations: 344.3 kB / 1.144 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/1.013, allocations: 34.56 kB / 1.144 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.193e-06/1.013, allocations: 0 / 1.144 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001616/1.013, allocations: 37.61 kB / 1.144 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/1.013, allocations: 51.41 kB / 1.144 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.623e-05/1.014, allocations: 106 kB / 1.144 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/1.014, allocations: 25.7 kB / 1.144 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/1.014, allocations: 88.05 kB / 1.145 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.933e-06/1.014, allocations: 3.938 kB / 1.145 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/1.014, allocations: 0 / 1.145 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.014, allocations: 318.8 kB / 1.145 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/1.014, allocations: 7.922 kB / 1.145 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.504e-05/1.014, allocations: 17.72 kB / 1.145 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.082e-05/1.014, allocations: 11.94 kB / 1.145 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.014, allocations: 0 / 1.145 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.077e-05/1.014, allocations: 49.69 kB / 1.145 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/1.014, allocations: 9.344 kB / 1.145 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/1.014, allocations: 0 / 1.145 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/1.014, allocations: 0 / 1.145 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.794e-05/1.014, allocations: 4 kB / 1.145 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/1.014, allocations: 4 kB / 1.145 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.879e-05/1.014, allocations: 8.047 kB / 1.145 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/1.014, allocations: 0 / 1.145 GB, free: 1.82 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.865e-05/1.014, allocations: 121.8 kB / 1.145 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/1.014, allocations: 3.906 kB / 1.145 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/1.014, allocations: 113 kB / 1.145 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.4e-05/1.014, allocations: 188.2 kB / 1.145 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.168e-05/1.014, allocations: 184.3 kB / 1.146 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.608e-05/1.015, allocations: 184.2 kB / 1.146 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/1.015, allocations: 409.2 kB / 1.146 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.683e-05/1.015, allocations: 104.9 kB / 1.146 GB, free: 440 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/1.015, allocations: 105 kB / 1.146 GB, free: 328 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.026e-05/1.015, allocations: 184.2 kB / 1.146 GB, free: 136 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-05/1.015, allocations: 184.2 kB / 1.147 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.236e-05/1.015, allocations: 176.3 kB / 1.147 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.39e-05/1.015, allocations: 180.2 kB / 1.147 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/1.015, allocations: 307.8 kB / 1.147 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/1.015, allocations: 190 kB / 1.147 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.741e-05/1.015, allocations: 176.3 kB / 1.148 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/1.016, allocations: 116.9 kB / 1.148 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/1.016, allocations: 180.2 kB / 1.148 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/1.016, allocations: 101 kB / 1.148 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.213e-05/1.016, allocations: 91.27 kB / 1.148 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.016, allocations: 0 / 1.148 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002914/1.016, allocations: 51.94 kB / 1.148 GB, free: 14.32 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003214/1.016, allocations: 254.3 kB / 1.148 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.309e-05/1.017, allocations: 8 kB / 1.148 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.017, allocations: 0 / 1.148 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.809e-06/1.017, allocations: 4 kB / 1.148 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/1.017, allocations: 0.5146 MB / 1.149 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/1.017, allocations: 196 kB / 1.149 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/1.018, allocations: 0.6731 MB / 1.15 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.054e-05/1.018, allocations: 11.95 kB / 1.15 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/1.018, allocations: 7.438 kB / 1.15 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/1.018, allocations: 0 / 1.15 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of Templates: time 0.003913/1.022, allocations: 1.214 MB / 1.151 GB, free: 11.38 MB / 0.9044 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches