Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_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.001539/0.00154, allocations: 111.3 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.001748/0.001748, allocations: 194.8 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.38/1.38, 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 9.1.3-maint.9.1.x/package.mo): time 2.395/2.395, allocations: 390.2 MB / 0.6642 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 59.91 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6014/0.6027, allocations: 140.4 MB / 0.9489 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1403/0.743, allocations: 133.3 MB / 1.079 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002054/0.7432, allocations: 51.86 kB / 1.079 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.723e-05/0.7433, allocations: 4 kB / 1.079 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.7434, allocations: 3.938 kB / 1.079 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.462e-05/0.7436, allocations: 15.91 kB / 1.079 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008874/0.7444, allocations: 230.5 kB / 1.079 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.7446, allocations: 59.81 kB / 1.079 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.768e-05/0.7446, allocations: 4 kB / 1.079 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.096e-05/0.7447, allocations: 15.98 kB / 1.079 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.808e-05/0.7447, allocations: 11.98 kB / 1.079 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.7448, allocations: 3.938 kB / 1.079 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005568/0.7453, allocations: 243.3 kB / 1.08 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.243e-05/0.7454, allocations: 7.984 kB / 1.08 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.7454, allocations: 12 kB / 1.08 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000451/0.7459, allocations: 197.5 kB / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7459, allocations: 0 / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7459, allocations: 0 / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.7459, allocations: 0 / 1.08 GB, free: 11.48 MB / 0.8419 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.0004251/0.7464, allocations: 359.4 kB / 1.08 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.7464, allocations: 12.03 kB / 1.08 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.7465, allocations: 0.9375 kB / 1.08 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.7466, allocations: 164.3 kB / 1.08 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.62e-05/0.7467, allocations: 30.27 kB / 1.08 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.7467, allocations: 7.938 kB / 1.08 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.7468, allocations: 45.67 kB / 1.081 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.7468, allocations: 0 / 1.081 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.7469, allocations: 4 kB / 1.081 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.7469, allocations: 0 / 1.081 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.594e-05/0.7469, allocations: 11.98 kB / 1.081 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008276/0.7478, allocations: 0.6067 MB / 1.081 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.811e-05/0.7478, allocations: 22.52 kB / 1.081 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/0.7479, allocations: 8.797 kB / 1.081 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/0.7481, allocations: 340.5 kB / 1.081 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.7481, allocations: 34.56 kB / 1.082 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.7481, allocations: 0 / 1.082 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001604/0.7483, allocations: 41.55 kB / 1.082 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.7483, allocations: 55.53 kB / 1.082 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.749e-05/0.7484, allocations: 101.8 kB / 1.082 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.7484, allocations: 25.7 kB / 1.082 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.7485, allocations: 88.05 kB / 1.082 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.903e-06/0.7485, allocations: 3.938 kB / 1.082 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.7485, allocations: 21.7 kB / 1.082 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.831e-05/0.7486, allocations: 314.8 kB / 1.082 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.7486, allocations: 4 kB / 1.082 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.031e-05/0.7487, allocations: 25.7 kB / 1.082 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.331e-05/0.7487, allocations: 13.72 kB / 1.082 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.7487, allocations: 3.938 kB / 1.082 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.23e-05/0.7488, allocations: 53.69 kB / 1.082 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.7488, allocations: 4 kB / 1.082 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.7488, allocations: 0 / 1.082 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.7489, allocations: 4.062 kB / 1.082 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.833e-05/0.7489, allocations: 8 kB / 1.082 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.7489, allocations: 0 / 1.082 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.952e-05/0.749, allocations: 3.938 kB / 1.082 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.749, allocations: 3.938 kB / 1.082 GB, free: 8.703 MB / 0.8419 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.82e-05/0.7491, allocations: 117.8 kB / 1.082 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.7491, allocations: 3.906 kB / 1.082 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.7492, allocations: 117 kB / 1.082 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.033e-05/0.7493, allocations: 180.2 kB / 1.083 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-05/0.7493, allocations: 184.2 kB / 1.083 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.066e-05/0.7494, allocations: 180.3 kB / 1.083 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.7496, allocations: 409.1 kB / 1.083 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.208e-05/0.7497, allocations: 104.9 kB / 1.083 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.187e-05/0.7497, allocations: 112.9 kB / 1.084 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.863e-05/0.7497, allocations: 176.3 kB / 1.084 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/0.7498, allocations: 180.3 kB / 1.084 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-05/0.7499, allocations: 184.2 kB / 1.084 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.846e-05/0.7499, allocations: 176.3 kB / 1.084 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.7501, allocations: 315.7 kB / 1.085 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.427e-05/0.7501, allocations: 182.1 kB / 1.085 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.215e-05/0.7502, allocations: 184.2 kB / 1.085 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.7504, allocations: 105 kB / 1.085 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.7504, allocations: 188.2 kB / 1.085 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/0.7505, allocations: 108.9 kB / 1.085 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.61e-05/0.7505, allocations: 83.22 kB / 1.085 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7505, allocations: 0 / 1.085 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000332/0.7509, allocations: 63.92 kB / 1.085 GB, free: 5.195 MB / 0.8419 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.0003396/0.7512, allocations: 250.6 kB / 1.086 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.417e-05/0.7513, allocations: 15.94 kB / 1.086 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7513, allocations: 0 / 1.086 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.7513, allocations: 0 / 1.086 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.7517, allocations: 0.5226 MB / 1.086 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.752, allocations: 183.6 kB / 1.086 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.7523, allocations: 0.6808 MB / 1.087 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.503e-05/0.7523, allocations: 12.22 kB / 1.087 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.7523, allocations: 11.44 kB / 1.087 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.7523, allocations: 0 / 1.087 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of Templates: time 0.003547/0.7559, allocations: 1.268 MB / 1.088 GB, free: 2.199 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches