Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_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.001046/0.001046, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008222/0.008222, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.448/1.448, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.78/2.78, allocations: 443.3 MB / 0.7175 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003737, allocations: 8.906 kB / 0.8795 GB, free: 42.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.341, allocations: 155.2 MB / 1.031 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1573/0.4983, allocations: 131.5 MB / 1.16 GB, free: 364 kB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0001942/0.4986, allocations: 71.83 kB / 1.16 GB, free: 292 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.732e-05/0.4986, allocations: 0 / 1.16 GB, free: 292 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.4988, allocations: 3.938 kB / 1.16 GB, free: 288 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 9.439e-05/0.4989, allocations: 7.984 kB / 1.16 GB, free: 280 kB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.4999, allocations: 223 kB / 1.16 GB, free: 56 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.5001, allocations: 55.89 kB / 1.16 GB, free: 0 / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.914e-05/0.5002, allocations: 4.109 kB / 1.16 GB, free: 15.99 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.339e-05/0.5003, allocations: 19.86 kB / 1.16 GB, free: 15.97 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.5004, allocations: 12 kB / 1.16 GB, free: 15.96 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.5004, allocations: 0 / 1.16 GB, free: 15.96 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007874/0.5012, allocations: 243.3 kB / 1.16 GB, free: 15.73 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.716e-05/0.5013, allocations: 3.984 kB / 1.16 GB, free: 15.72 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.899e-05/0.5014, allocations: 45.62 kB / 1.16 GB, free: 15.67 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006305/0.502, allocations: 183.9 kB / 1.16 GB, free: 15.49 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.502, allocations: 0 / 1.16 GB, free: 15.49 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.246e-06/0.502, allocations: 4 kB / 1.16 GB, free: 15.49 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.502, allocations: 0 / 1.16 GB, free: 15.49 MB / 0.92 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.000735/0.5028, allocations: 355.5 kB / 1.161 GB, free: 15.09 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/0.5029, allocations: 8.031 kB / 1.161 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.97e-05/0.5029, allocations: 0.9375 kB / 1.161 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.5031, allocations: 168.3 kB / 1.161 GB, free: 14.88 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.5032, allocations: 30.27 kB / 1.161 GB, free: 14.85 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.5033, allocations: 3.938 kB / 1.161 GB, free: 14.84 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.5035, allocations: 49.67 kB / 1.161 GB, free: 14.79 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.5035, allocations: 0 / 1.161 GB, free: 14.79 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.5035, allocations: 0 / 1.161 GB, free: 14.79 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-05/0.5036, allocations: 0 / 1.161 GB, free: 14.79 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.374e-05/0.5036, allocations: 11.98 kB / 1.161 GB, free: 14.78 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.5048, allocations: 0.6143 MB / 1.162 GB, free: 14.04 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.765e-05/0.5049, allocations: 18.58 kB / 1.162 GB, free: 14.01 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.5049, allocations: 8.844 kB / 1.162 GB, free: 14 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/0.5052, allocations: 328.5 kB / 1.162 GB, free: 13.61 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.5053, allocations: 38.55 kB / 1.162 GB, free: 13.56 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.844e-06/0.5053, allocations: 3.938 kB / 1.162 GB, free: 13.55 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0002155/0.5055, allocations: 41.64 kB / 1.162 GB, free: 13.51 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.5056, allocations: 51.41 kB / 1.162 GB, free: 13.45 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.5057, allocations: 105.8 kB / 1.162 GB, free: 13.33 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.5058, allocations: 25.7 kB / 1.162 GB, free: 13.3 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.5058, allocations: 84.05 kB / 1.162 GB, free: 13.21 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.335e-06/0.5059, allocations: 4 kB / 1.162 GB, free: 13.21 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.5059, allocations: 9.719 kB / 1.162 GB, free: 13.2 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.506, allocations: 322.9 kB / 1.163 GB, free: 12.87 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/0.506, allocations: 7.984 kB / 1.163 GB, free: 12.86 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.499e-05/0.506, allocations: 13.72 kB / 1.163 GB, free: 12.84 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.955e-05/0.5061, allocations: 21.66 kB / 1.163 GB, free: 12.82 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5061, allocations: 0 / 1.163 GB, free: 12.82 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.146e-05/0.5062, allocations: 49.69 kB / 1.163 GB, free: 12.76 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.5062, allocations: 9.781 kB / 1.163 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5062, allocations: 0 / 1.163 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.5063, allocations: 0 / 1.163 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.846e-05/0.5063, allocations: 15.92 kB / 1.163 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.5063, allocations: 0 / 1.163 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.365e-05/0.5064, allocations: 3.906 kB / 1.163 GB, free: 12.73 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.5064, allocations: 3.938 kB / 1.163 GB, free: 12.73 MB / 0.92 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 8.72e-05/0.5065, allocations: 113.8 kB / 1.163 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.5065, allocations: 0 / 1.163 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.5067, allocations: 125 kB / 1.163 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.988e-05/0.5067, allocations: 180.2 kB / 1.163 GB, free: 12.29 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-05/0.5068, allocations: 180.3 kB / 1.163 GB, free: 12.11 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.968e-05/0.5069, allocations: 180.5 kB / 1.163 GB, free: 11.93 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.5071, allocations: 413.1 kB / 1.164 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-05/0.5071, allocations: 109 kB / 1.164 GB, free: 11.35 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.5072, allocations: 104.9 kB / 1.164 GB, free: 11.24 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.714e-05/0.5072, allocations: 184.2 kB / 1.164 GB, free: 11.05 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.819e-05/0.5073, allocations: 188.2 kB / 1.164 GB, free: 10.86 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.014e-05/0.5074, allocations: 176.3 kB / 1.165 GB, free: 10.68 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.867e-05/0.5075, allocations: 184.3 kB / 1.165 GB, free: 10.5 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.5076, allocations: 311.7 kB / 1.165 GB, free: 10.17 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.862e-05/0.5077, allocations: 186 kB / 1.165 GB, free: 9.961 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-05/0.5078, allocations: 180.2 kB / 1.165 GB, free: 9.777 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.508, allocations: 112.9 kB / 1.165 GB, free: 9.66 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-05/0.508, allocations: 184.2 kB / 1.166 GB, free: 9.473 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/0.5081, allocations: 105 kB / 1.166 GB, free: 9.363 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.189e-05/0.5081, allocations: 91.2 kB / 1.166 GB, free: 9.273 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.5081, allocations: 0 / 1.166 GB, free: 9.273 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003368/0.5085, allocations: 52 kB / 1.166 GB, free: 9.223 MB / 0.92 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.0003936/0.5089, allocations: 250.4 kB / 1.166 GB, free: 8.969 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.562e-05/0.509, allocations: 11.92 kB / 1.166 GB, free: 8.957 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.509, allocations: 0 / 1.166 GB, free: 8.957 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-06/0.509, allocations: 4 kB / 1.166 GB, free: 8.953 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/0.5096, allocations: 0.5265 MB / 1.167 GB, free: 8.422 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.51, allocations: 191.8 kB / 1.167 GB, free: 8.207 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.5103, allocations: 0.6731 MB / 1.168 GB, free: 7.508 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 5.827e-05/0.5104, allocations: 11.98 kB / 1.168 GB, free: 7.496 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.5104, allocations: 7.438 kB / 1.168 GB, free: 7.488 MB / 0.92 GB Notification: Performance of SimCode: time 4.1e-07/0.5104, allocations: 0 / 1.168 GB, free: 7.488 MB / 0.92 GB Notification: Performance of Templates: time 0.004143/0.5146, allocations: 1.264 MB / 1.169 GB, free: 6.227 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches