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.002004/0.002004, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.002487/0.002487, allocations: 195.9 kB / 17.3 MB, free: 5.516 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.66/2.66, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002723/0.002724, allocations: 68.22 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3536, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.718/1.072, allocations: 135.4 MB / 1.159 GB, free: 5.555 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0001857/1.072, allocations: 54.11 kB / 1.159 GB, free: 5.527 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/1.072, allocations: 0 / 1.159 GB, free: 5.527 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0001192/1.072, allocations: 7.875 kB / 1.159 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 9.167e-05/1.072, allocations: 18.75 kB / 1.159 GB, free: 5.508 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008982/1.073, allocations: 230.1 kB / 1.159 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 9.016e-05/1.073, allocations: 34.95 kB / 1.159 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/1.073, allocations: 3.031 kB / 1.159 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 5.479e-05/1.073, allocations: 19.41 kB / 1.159 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/1.073, allocations: 17.59 kB / 1.159 GB, free: 5.375 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/1.073, allocations: 0 / 1.159 GB, free: 5.375 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005031/1.074, allocations: 239 kB / 1.16 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 5.835e-05/1.074, allocations: 10.45 kB / 1.16 GB, free: 5.281 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/1.074, allocations: 7.672 kB / 1.16 GB, free: 5.281 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0003626/1.074, allocations: 189.1 kB / 1.16 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.074, allocations: 0 / 1.16 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.543e-06/1.074, allocations: 0 / 1.16 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.541e-06/1.074, allocations: 0 / 1.16 GB, free: 5.234 MB / 0.8731 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.0004465/1.075, allocations: 358.9 kB / 1.16 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/1.075, allocations: 9.906 kB / 1.16 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/1.075, allocations: 3.469 kB / 1.16 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/1.075, allocations: 160.4 kB / 1.16 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.563e-05/1.075, allocations: 37.95 kB / 1.16 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/1.075, allocations: 5.594 kB / 1.16 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/1.075, allocations: 43.55 kB / 1.16 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/1.075, allocations: 0 / 1.16 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/1.075, allocations: 1.062 kB / 1.16 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/1.075, allocations: 9.031 kB / 1.16 GB, free: 4.582 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.006e-05/1.075, allocations: 15.22 kB / 1.16 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000813/1.076, allocations: 0.5976 MB / 1.161 GB, free: 3.922 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 4.399e-05/1.076, allocations: 19.77 kB / 1.161 GB, free: 3.895 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.723e-05/1.076, allocations: 9.781 kB / 1.161 GB, free: 3.887 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/1.077, allocations: 341.4 kB / 1.161 GB, free: 3.5 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/1.077, allocations: 32.12 kB / 1.161 GB, free: 3.461 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/1.077, allocations: 1.969 kB / 1.161 GB, free: 3.461 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1): time 0.0001538/1.077, allocations: 33.14 kB / 1.161 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/1.077, allocations: 60.59 kB / 1.161 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.893e-05/1.077, allocations: 101.6 kB / 1.161 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/1.077, allocations: 25.7 kB / 1.161 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/1.077, allocations: 91.95 kB / 1.162 GB, free: 3.137 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/1.077, allocations: 9.094 kB / 1.162 GB, free: 3.129 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/1.077, allocations: 13.25 kB / 1.162 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.077, allocations: 318.7 kB / 1.162 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/1.077, allocations: 6.781 kB / 1.162 GB, free: 2.793 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.628e-05/1.077, allocations: 15.11 kB / 1.162 GB, free: 2.777 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.99e-05/1.077, allocations: 26.78 kB / 1.162 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.077, allocations: 0 / 1.162 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.605e-05/1.077, allocations: 44.78 kB / 1.162 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/1.077, allocations: 6.219 kB / 1.162 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/1.077, allocations: 2.188 kB / 1.162 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/1.077, allocations: 1.25 kB / 1.162 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.673e-05/1.078, allocations: 6.375 kB / 1.162 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/1.078, allocations: 1.062 kB / 1.162 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.342e-05/1.078, allocations: 9.062 kB / 1.162 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/1.078, allocations: 10.5 kB / 1.162 GB, free: 2.703 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 8.798e-05/1.078, allocations: 115.8 kB / 1.162 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/1.078, allocations: 1.094 kB / 1.162 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/1.078, allocations: 119.3 kB / 1.162 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.694e-05/1.078, allocations: 181.9 kB / 1.162 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.08e-05/1.078, allocations: 182.4 kB / 1.163 GB, free: 2.094 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.1e-05/1.078, allocations: 182.8 kB / 1.163 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/1.078, allocations: 411.7 kB / 1.163 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.15e-05/1.078, allocations: 108.9 kB / 1.163 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-05/1.078, allocations: 108 kB / 1.163 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.109e-05/1.078, allocations: 177.6 kB / 1.164 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.195e-05/1.079, allocations: 181.4 kB / 1.164 GB, free: 0.8711 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.557e-05/1.079, allocations: 183.8 kB / 1.164 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.908e-05/1.079, allocations: 185.4 kB / 1.164 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/1.079, allocations: 305.3 kB / 1.164 GB, free: 192 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.276e-05/1.079, allocations: 183.3 kB / 1.165 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.698e-05/1.079, allocations: 193.5 kB / 1.165 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/1.079, allocations: 103.6 kB / 1.165 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/1.079, allocations: 182.7 kB / 1.165 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/1.079, allocations: 102.9 kB / 1.165 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 5.631e-05/1.079, allocations: 91.05 kB / 1.165 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/1.079, allocations: 4 kB / 1.165 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003626/1.08, allocations: 54.55 kB / 1.165 GB, free: 15.3 MB / 0.8887 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.0003497/1.08, allocations: 257.4 kB / 1.165 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 8.365e-05/1.08, allocations: 17.66 kB / 1.165 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.08, allocations: 0 / 1.165 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/1.08, allocations: 0 / 1.165 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/1.081, allocations: 459.7 kB / 1.166 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/1.081, allocations: 181.5 kB / 1.166 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/1.081, allocations: 0.6757 MB / 1.167 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 3.674e-05/1.081, allocations: 6.922 kB / 1.167 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.815e-05/1.081, allocations: 8.75 kB / 1.167 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of SimCode: time 1.983e-06/1.081, allocations: 0 / 1.167 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of Templates: time 0.003762/1.085, allocations: 1.286 MB / 1.168 GB, free: 13.57 MB / 0.8887 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches