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.006774/0.006774, allocations: 101.3 kB / 15.88 MB, free: 5.867 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.001306/0.001306, allocations: 193.8 kB / 16.79 MB, free: 5.809 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.352/1.352, allocations: 222.9 MB / 240.5 MB, free: 4.547 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.6/2.6, allocations: 437 MB / 0.7106 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001383, allocations: 75.89 kB / 0.8692 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6035/0.6049, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1439/0.7489, allocations: 133.3 MB / 1.147 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0001684/0.7491, allocations: 63.72 kB / 1.147 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.7491, allocations: 0 / 1.147 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.7492, allocations: 0 / 1.147 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.956e-05/0.7494, allocations: 15.91 kB / 1.147 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007871/0.7502, allocations: 219.2 kB / 1.148 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.427e-05/0.7503, allocations: 59.81 kB / 1.148 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.209e-05/0.7503, allocations: 4 kB / 1.148 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.52e-05/0.7503, allocations: 11.98 kB / 1.148 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.077e-05/0.7504, allocations: 23.91 kB / 1.148 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.7504, allocations: 0 / 1.148 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005003/0.7509, allocations: 243.3 kB / 1.148 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.751, allocations: 8 kB / 1.148 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.751, allocations: 7.984 kB / 1.148 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.7513, allocations: 133.7 kB / 1.148 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7513, allocations: 0 / 1.148 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.21e-07/0.7513, allocations: 0 / 1.148 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.7513, allocations: 0 / 1.148 GB, free: 12.18 MB / 0.9044 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.0004072/0.7517, allocations: 355.5 kB / 1.149 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.7518, allocations: 12.03 kB / 1.149 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.859e-05/0.7518, allocations: 0.9375 kB / 1.149 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.7519, allocations: 168.4 kB / 1.149 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/0.752, allocations: 30.27 kB / 1.149 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.752, allocations: 3.938 kB / 1.149 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.7522, allocations: 45.62 kB / 1.149 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.7522, allocations: 0 / 1.149 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.7522, allocations: 0 / 1.149 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.7522, allocations: 4 kB / 1.149 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.239e-05/0.7523, allocations: 11.98 kB / 1.149 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007659/0.753, allocations: 0.6066 MB / 1.149 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 3.872e-05/0.7531, allocations: 22.52 kB / 1.149 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.607e-05/0.7531, allocations: 8.797 kB / 1.149 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002035/0.7533, allocations: 340.5 kB / 1.15 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.7534, allocations: 34.56 kB / 1.15 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 2.455e-06/0.7534, allocations: 4 kB / 1.15 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001366/0.7535, allocations: 37.62 kB / 1.15 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.7536, allocations: 55.41 kB / 1.15 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.895e-05/0.7536, allocations: 97.86 kB / 1.15 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.7537, allocations: 25.7 kB / 1.15 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.7537, allocations: 92.03 kB / 1.15 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.242e-06/0.7537, allocations: 3.938 kB / 1.15 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.7538, allocations: 17.72 kB / 1.15 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.7539, allocations: 318.9 kB / 1.15 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.908e-05/0.7539, allocations: 11.92 kB / 1.15 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/0.7539, allocations: 17.72 kB / 1.15 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.183e-05/0.754, allocations: 13.72 kB / 1.15 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.754, allocations: 0 / 1.15 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.658e-05/0.7541, allocations: 49.69 kB / 1.15 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.7541, allocations: 12 kB / 1.15 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.7541, allocations: 0 / 1.15 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.7541, allocations: 0 / 1.15 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.284e-05/0.7541, allocations: 4 kB / 1.15 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.7542, allocations: 7.984 kB / 1.15 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.935e-05/0.7542, allocations: 3.906 kB / 1.15 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.7542, allocations: 3.938 kB / 1.151 GB, free: 9.406 MB / 0.9044 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.764e-05/0.7543, allocations: 113.8 kB / 1.151 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.7543, allocations: 0 / 1.151 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.7544, allocations: 124.9 kB / 1.151 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-05/0.7545, allocations: 176.3 kB / 1.151 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.662e-05/0.7546, allocations: 188.2 kB / 1.151 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.782e-05/0.7546, allocations: 180.3 kB / 1.151 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.7548, allocations: 405.2 kB / 1.152 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.221e-05/0.7549, allocations: 112.9 kB / 1.152 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.779e-05/0.7549, allocations: 101 kB / 1.152 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.005e-05/0.755, allocations: 184.2 kB / 1.152 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.844e-05/0.7551, allocations: 176.3 kB / 1.152 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-05/0.7551, allocations: 184.2 kB / 1.152 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.796e-05/0.7552, allocations: 180.3 kB / 1.153 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.7554, allocations: 315.7 kB / 1.153 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.609e-05/0.7554, allocations: 178.1 kB / 1.153 GB, free: 6.648 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.919e-05/0.7555, allocations: 184.2 kB / 1.153 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.7557, allocations: 112.9 kB / 1.153 GB, free: 6.344 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.7557, allocations: 188.2 kB / 1.153 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.7558, allocations: 104.9 kB / 1.154 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.7558, allocations: 83.22 kB / 1.154 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7558, allocations: 0 / 1.154 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003072/0.7561, allocations: 63.92 kB / 1.154 GB, free: 5.898 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 (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.0003076/0.7565, allocations: 254.4 kB / 1.154 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.399e-05/0.7565, allocations: 8 kB / 1.154 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7565, allocations: 0 / 1.154 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.466e-06/0.7566, allocations: 3.938 kB / 1.154 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.757, allocations: 0.5226 MB / 1.154 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.7572, allocations: 209.3 kB / 1.155 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.7575, allocations: 0.677 MB / 1.155 GB, free: 4.164 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.7575, allocations: 15.38 kB / 1.155 GB, free: 4.148 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.7575, allocations: 0 / 1.155 GB, free: 4.148 MB / 0.9044 GB Notification: Performance of Templates: time 0.002775/0.7603, allocations: 1.231 MB / 1.157 GB, free: 2.922 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches