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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001107/0.001108, allocations: 102.2 kB / 16.35 MB, free: 5.887 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.001063/0.001063, allocations: 189.8 kB / 17.29 MB, free: 5.527 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 68.56 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.336, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1666/0.5027, allocations: 135.4 MB / 1.083 GB, free: 136 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001781/0.5029, allocations: 59.84 kB / 1.083 GB, free: 76 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.841e-05/0.5029, allocations: 0 / 1.083 GB, free: 76 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.5031, allocations: 4 kB / 1.083 GB, free: 72 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.849e-05/0.5032, allocations: 11.91 kB / 1.083 GB, free: 60 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.5409/1.044, allocations: 233.8 kB / 1.084 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.531e-05/1.044, allocations: 36.53 kB / 1.084 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/1.044, allocations: 6.234 kB / 1.084 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.257e-05/1.044, allocations: 19.22 kB / 1.084 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/1.044, allocations: 7.375 kB / 1.084 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/1.044, allocations: 1.781 kB / 1.084 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004918/1.045, allocations: 246.7 kB / 1.084 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.492e-05/1.045, allocations: 6.984 kB / 1.084 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/1.045, allocations: 16.98 kB / 1.084 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003706/1.045, allocations: 185.4 kB / 1.084 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.045, allocations: 4.703 kB / 1.084 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.324e-06/1.045, allocations: 0.625 kB / 1.084 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.446e-06/1.045, allocations: 0 / 1.084 GB, free: 7.809 MB / 0.8575 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.0004855/1.046, allocations: 361.3 kB / 1.084 GB, free: 23.44 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/1.046, allocations: 9.531 kB / 1.084 GB, free: 23.44 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/1.046, allocations: 3.375 kB / 1.085 GB, free: 23.44 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/1.046, allocations: 164 kB / 1.085 GB, free: 23.25 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.442e-05/1.046, allocations: 30.55 kB / 1.085 GB, free: 23.21 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/1.046, allocations: 1.562 kB / 1.085 GB, free: 23.21 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/1.046, allocations: 49.22 kB / 1.085 GB, free: 23.18 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/1.046, allocations: 4.969 kB / 1.085 GB, free: 23.18 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/1.046, allocations: 0.625 kB / 1.085 GB, free: 23.18 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/1.046, allocations: 7.641 kB / 1.085 GB, free: 23.18 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.977e-05/1.046, allocations: 15.67 kB / 1.085 GB, free: 23.18 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00076/1.047, allocations: 0.5936 MB / 1.085 GB, free: 22.54 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 2.88e-05/1.047, allocations: 24.05 kB / 1.085 GB, free: 22.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.14e-05/1.047, allocations: 7.453 kB / 1.085 GB, free: 22.51 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002/1.047, allocations: 336.8 kB / 1.086 GB, free: 22.13 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/1.047, allocations: 35.7 kB / 1.086 GB, free: 22.09 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/1.047, allocations: 0.7812 kB / 1.086 GB, free: 22.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1): time 0.0001327/1.048, allocations: 43.64 kB / 1.086 GB, free: 22.06 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/1.048, allocations: 53.09 kB / 1.086 GB, free: 22 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.495e-05/1.048, allocations: 100.4 kB / 1.086 GB, free: 21.9 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/1.048, allocations: 29.98 kB / 1.086 GB, free: 21.87 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/1.048, allocations: 86.77 kB / 1.086 GB, free: 21.78 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.821e-06/1.048, allocations: 6.719 kB / 1.086 GB, free: 21.78 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/1.048, allocations: 18.45 kB / 1.086 GB, free: 21.76 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.46e-05/1.048, allocations: 317.3 kB / 1.086 GB, free: 21.45 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/1.048, allocations: 4.469 kB / 1.086 GB, free: 21.45 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.943e-05/1.048, allocations: 16.06 kB / 1.086 GB, free: 21.43 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.208e-05/1.048, allocations: 26.47 kB / 1.086 GB, free: 21.41 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.048, allocations: 0 / 1.086 GB, free: 21.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.763e-05/1.048, allocations: 50.7 kB / 1.086 GB, free: 21.38 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/1.048, allocations: 7.469 kB / 1.086 GB, free: 21.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/1.048, allocations: 0.75 kB / 1.086 GB, free: 21.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/1.048, allocations: 1.469 kB / 1.086 GB, free: 21.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.363e-05/1.048, allocations: 6.156 kB / 1.086 GB, free: 21.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.048, allocations: 1.719 kB / 1.086 GB, free: 21.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.83e-05/1.048, allocations: 2.562 kB / 1.086 GB, free: 21.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/1.048, allocations: 2.703 kB / 1.086 GB, free: 21.38 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 6.832e-05/1.048, allocations: 121.2 kB / 1.087 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/1.048, allocations: 4.906 kB / 1.087 GB, free: 21.26 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/1.049, allocations: 118.5 kB / 1.087 GB, free: 21.14 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.541e-05/1.049, allocations: 181.8 kB / 1.087 GB, free: 20.96 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.848e-05/1.049, allocations: 186.4 kB / 1.087 GB, free: 20.79 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.371e-05/1.049, allocations: 181.4 kB / 1.087 GB, free: 20.61 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/1.049, allocations: 405.7 kB / 1.088 GB, free: 20.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.183e-05/1.049, allocations: 111.1 kB / 1.088 GB, free: 20.05 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.408e-05/1.049, allocations: 104.6 kB / 1.088 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.839e-05/1.049, allocations: 182.6 kB / 1.088 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.208e-05/1.049, allocations: 177.7 kB / 1.088 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-05/1.049, allocations: 182.7 kB / 1.088 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.332e-05/1.049, allocations: 181 kB / 1.089 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/1.049, allocations: 311 kB / 1.089 GB, free: 18.92 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/1.049, allocations: 184 kB / 1.089 GB, free: 18.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.723e-05/1.05, allocations: 182.9 kB / 1.089 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/1.05, allocations: 114.1 kB / 1.089 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/1.05, allocations: 179.4 kB / 1.089 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/1.05, allocations: 107.5 kB / 1.09 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.328e-05/1.05, allocations: 89.72 kB / 1.09 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.05, allocations: 1.75 kB / 1.09 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003397/1.05, allocations: 56.52 kB / 1.09 GB, free: 18.05 MB / 0.8731 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.0003245/1.051, allocations: 258.2 kB / 1.09 GB, free: 17.88 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 6.327e-05/1.051, allocations: 8.562 kB / 1.09 GB, free: 17.88 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.051, allocations: 4.906 kB / 1.09 GB, free: 17.88 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/1.051, allocations: 0 / 1.09 GB, free: 17.88 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/1.051, allocations: 463.4 kB / 1.09 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/1.051, allocations: 185.5 kB / 1.091 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/1.051, allocations: 0.6749 MB / 1.091 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.791e-05/1.052, allocations: 6.25 kB / 1.091 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/1.052, allocations: 14.12 kB / 1.091 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of SimCode: time 8.11e-07/1.052, allocations: 0 / 1.091 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of Templates: time 0.003979/1.056, allocations: 1.299 MB / 1.093 GB, free: 16.48 MB / 0.8731 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches