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.001468/0.001468, allocations: 100.1 kB / 15.88 MB, free: 8 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 196.9 kB / 16.79 MB, free: 6.828 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.356/1.356, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.651/2.651, allocations: 461.8 MB / 0.7348 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 73.94 kB / 0.899 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3096, allocations: 157.4 MB / 1.053 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.165/0.4747, allocations: 133.3 MB / 1.183 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001685/0.4749, allocations: 55.73 kB / 1.183 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.051e-05/0.475, allocations: 0 / 1.183 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.955e-05/0.4751, allocations: 3.938 kB / 1.183 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.112e-05/0.4752, allocations: 15.91 kB / 1.183 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007876/0.476, allocations: 227 kB / 1.183 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.317e-05/0.4761, allocations: 51.89 kB / 1.183 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.131e-05/0.4761, allocations: 0 / 1.183 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.25e-05/0.4762, allocations: 19.97 kB / 1.183 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.595e-05/0.4762, allocations: 11.94 kB / 1.183 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.4763, allocations: 4 kB / 1.183 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004941/0.4768, allocations: 247.3 kB / 1.183 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.395e-05/0.4768, allocations: 7.984 kB / 1.184 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.4769, allocations: 8 kB / 1.184 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.4771, allocations: 128.1 kB / 1.184 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.4771, allocations: 3.938 kB / 1.184 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4771, allocations: 0 / 1.184 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.4771, allocations: 0 / 1.184 GB, free: 1.777 MB / 0.9356 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.0004344/0.4776, allocations: 359.5 kB / 1.184 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.4776, allocations: 11.97 kB / 1.184 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.4777, allocations: 0.9375 kB / 1.184 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.4778, allocations: 168.3 kB / 1.184 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.6e-05/0.4779, allocations: 34.2 kB / 1.184 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.4779, allocations: 3.938 kB / 1.184 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.4781, allocations: 49.66 kB / 1.184 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.4781, allocations: 0 / 1.184 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.4781, allocations: 0 / 1.184 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.4781, allocations: 4 kB / 1.184 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.022e-05/0.4782, allocations: 19.98 kB / 1.184 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008573/0.479, allocations: 0.5988 MB / 1.185 GB, free: 328 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.496e-05/0.4791, allocations: 18.52 kB / 1.185 GB, free: 300 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.741e-05/0.4791, allocations: 8.922 kB / 1.185 GB, free: 288 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002205/0.4793, allocations: 340.4 kB / 1.185 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.4794, allocations: 30.56 kB / 1.185 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.4794, allocations: 0 / 1.185 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001578/0.4796, allocations: 33.7 kB / 1.185 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.4796, allocations: 55.34 kB / 1.185 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.398e-05/0.4797, allocations: 105.8 kB / 1.185 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.4797, allocations: 25.7 kB / 1.185 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.4798, allocations: 88.17 kB / 1.186 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.256e-06/0.4798, allocations: 4 kB / 1.186 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.4798, allocations: 21.64 kB / 1.186 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.4799, allocations: 314.8 kB / 1.186 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.48, allocations: 8 kB / 1.186 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.598e-05/0.48, allocations: 17.7 kB / 1.186 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.143e-05/0.48, allocations: 29.66 kB / 1.186 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.48, allocations: 0 / 1.186 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.154e-05/0.4801, allocations: 49.53 kB / 1.186 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.4802, allocations: 5.562 kB / 1.186 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.4802, allocations: 0 / 1.186 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.4802, allocations: 4 kB / 1.186 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.806e-05/0.4802, allocations: 4 kB / 1.186 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4802, allocations: 0 / 1.186 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.232e-05/0.4803, allocations: 4 kB / 1.186 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.4803, allocations: 12 kB / 1.186 GB, free: 15 MB / 0.9512 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.02e-05/0.4804, allocations: 109.8 kB / 1.186 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.4804, allocations: 7.984 kB / 1.186 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.4805, allocations: 113 kB / 1.186 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.046e-05/0.4806, allocations: 184.2 kB / 1.186 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.034e-05/0.4807, allocations: 176.3 kB / 1.187 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.375e-05/0.4807, allocations: 184.2 kB / 1.187 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.481, allocations: 413.1 kB / 1.187 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.765e-05/0.481, allocations: 101 kB / 1.187 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.481, allocations: 108.9 kB / 1.187 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.748e-05/0.4811, allocations: 180.3 kB / 1.187 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.915e-05/0.4812, allocations: 180.3 kB / 1.188 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.969e-05/0.4813, allocations: 184.2 kB / 1.188 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.928e-05/0.4813, allocations: 184.5 kB / 1.188 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.4815, allocations: 307.7 kB / 1.188 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.4816, allocations: 182.1 kB / 1.188 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-05/0.4816, allocations: 192.2 kB / 1.189 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.4818, allocations: 105 kB / 1.189 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.4819, allocations: 180.2 kB / 1.189 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.056e-05/0.482, allocations: 105.2 kB / 1.189 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.614e-05/0.482, allocations: 91.22 kB / 1.189 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.482, allocations: 0 / 1.189 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003191/0.4823, allocations: 55.92 kB / 1.189 GB, free: 11.51 MB / 0.9512 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.0003437/0.4827, allocations: 262.3 kB / 1.189 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.84e-05/0.4828, allocations: 15.92 kB / 1.189 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4828, allocations: 4 kB / 1.189 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.4828, allocations: 0 / 1.189 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.4832, allocations: 0.5242 MB / 1.19 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.4835, allocations: 209.4 kB / 1.19 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.4838, allocations: 0.677 MB / 1.191 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.4838, allocations: 11.44 kB / 1.191 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.4838, allocations: 3.938 kB / 1.191 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of Templates: time 0.002878/0.4867, allocations: 1.228 MB / 1.192 GB, free: 8.512 MB / 0.9512 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches