Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck") translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008413/0.008413, allocations: 101.7 kB / 15.73 MB, free: 6.062 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.001943/0.001943, allocations: 194.5 kB / 16.67 MB, free: 5.969 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.677/2.677, allocations: 469.8 MB / 0.7425 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 71.88 kB / 1.065 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9375/0.9388, allocations: 159.1 MB / 1.221 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1572/1.096, allocations: 135.9 MB / 1.353 GB, free: 9.699 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01004/1.106, allocations: 7.943 MB / 1.361 GB, free: 1.73 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/1.106, allocations: 0 / 1.361 GB, free: 1.73 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001961/1.106, allocations: 23.83 kB / 1.361 GB, free: 1.707 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.779e-05/1.106, allocations: 19.86 kB / 1.361 GB, free: 1.688 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004383/1.111, allocations: 1.467 MB / 1.363 GB, free: 232 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001587/1.111, allocations: 75.66 kB / 1.363 GB, free: 156 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.228e-05/1.111, allocations: 7.984 kB / 1.363 GB, free: 148 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/1.111, allocations: 47.84 kB / 1.363 GB, free: 100 kB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/1.111, allocations: 35.83 kB / 1.363 GB, free: 64 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/1.111, allocations: 7.938 kB / 1.363 GB, free: 56 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00496/1.116, allocations: 2.7 MB / 1.365 GB, free: 13.35 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/1.116, allocations: 11.98 kB / 1.365 GB, free: 13.34 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 4.741e-05/1.116, allocations: 31.86 kB / 1.365 GB, free: 13.31 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002559/1.119, allocations: 1.376 MB / 1.367 GB, free: 11.93 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.119, allocations: 0 / 1.367 GB, free: 11.93 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.024e-06/1.119, allocations: 4 kB / 1.367 GB, free: 11.93 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.903e-06/1.119, allocations: 0 / 1.367 GB, free: 11.93 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001303/1.12, allocations: 0.4984 MB / 1.367 GB, free: 11.38 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/1.12, allocations: 8.031 kB / 1.367 GB, free: 11.37 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004331/1.121, allocations: 28.86 kB / 1.367 GB, free: 11.34 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/1.121, allocations: 164.3 kB / 1.367 GB, free: 11.14 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-05/1.121, allocations: 30.27 kB / 1.367 GB, free: 11.11 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/1.121, allocations: 11.94 kB / 1.367 GB, free: 11.1 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/1.121, allocations: 127.5 kB / 1.368 GB, free: 10.97 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/1.121, allocations: 0 / 1.368 GB, free: 10.97 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/1.121, allocations: 4 kB / 1.368 GB, free: 10.96 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/1.121, allocations: 4 kB / 1.368 GB, free: 10.96 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/1.122, allocations: 115.8 kB / 1.368 GB, free: 10.85 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/1.122, allocations: 380.7 kB / 1.368 GB, free: 10.41 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/1.122, allocations: 118.6 kB / 1.368 GB, free: 10.29 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.677e-05/1.122, allocations: 48.83 kB / 1.368 GB, free: 10.24 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01185/1.134, allocations: 4.23 MB / 1.372 GB, free: 5.691 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/1.134, allocations: 42.5 kB / 1.372 GB, free: 5.641 MB / 1.092 GB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/1.134, allocations: 0 / 1.372 GB, free: 5.641 MB / 1.092 GB Notification: Performance of matching and sorting (n=13): time 0.000631/1.135, allocations: 169.5 kB / 1.373 GB, free: 5.469 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/1.135, allocations: 51.41 kB / 1.373 GB, free: 5.406 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.712e-05/1.135, allocations: 101.8 kB / 1.373 GB, free: 5.297 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/1.135, allocations: 29.7 kB / 1.373 GB, free: 5.262 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/1.135, allocations: 88.14 kB / 1.373 GB, free: 5.172 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.569e-05/1.135, allocations: 43.59 kB / 1.373 GB, free: 5.129 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.349e-05/1.135, allocations: 29.7 kB / 1.373 GB, free: 5.094 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.135, allocations: 322.8 kB / 1.373 GB, free: 4.77 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.2e-05/1.136, allocations: 23.98 kB / 1.373 GB, free: 4.746 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.991e-05/1.136, allocations: 23.98 kB / 1.373 GB, free: 4.723 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/1.136, allocations: 80.59 kB / 1.373 GB, free: 4.645 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.136, allocations: 0 / 1.373 GB, free: 4.645 MB / 1.092 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002198/1.136, allocations: 109.7 kB / 1.373 GB, free: 4.531 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/1.136, allocations: 4 kB / 1.373 GB, free: 4.527 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.136, allocations: 0 / 1.373 GB, free: 4.527 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/1.136, allocations: 4 kB / 1.373 GB, free: 4.523 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/1.136, allocations: 23.92 kB / 1.373 GB, free: 4.5 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/1.136, allocations: 0 / 1.373 GB, free: 4.5 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.335e-05/1.136, allocations: 19.83 kB / 1.373 GB, free: 4.48 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/1.136, allocations: 0 / 1.373 GB, free: 4.48 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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 0.0001031/1.136, allocations: 114.4 kB / 1.374 GB, free: 4.359 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.134e-05/1.136, allocations: 15.94 kB / 1.374 GB, free: 4.344 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005002/1.137, allocations: 364.1 kB / 1.374 GB, free: 3.984 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/1.137, allocations: 11.92 kB / 1.374 GB, free: 3.973 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/1.137, allocations: 0 / 1.374 GB, free: 3.973 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/1.137, allocations: 7.938 kB / 1.374 GB, free: 3.965 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/1.137, allocations: 277.4 kB / 1.374 GB, free: 3.645 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/1.137, allocations: 0 / 1.374 GB, free: 3.645 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/1.137, allocations: 19.98 kB / 1.374 GB, free: 3.625 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/1.137, allocations: 0 / 1.374 GB, free: 3.625 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/1.137, allocations: 11.98 kB / 1.374 GB, free: 3.613 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.137, allocations: 4 kB / 1.374 GB, free: 3.609 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.137, allocations: 0 / 1.374 GB, free: 3.609 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/1.138, allocations: 334.9 kB / 1.375 GB, free: 3.266 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 8.74e-05/1.138, allocations: 108.9 kB / 1.375 GB, free: 3.141 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/1.138, allocations: 4 kB / 1.375 GB, free: 3.137 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/1.138, allocations: 4 kB / 1.375 GB, free: 3.133 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/1.138, allocations: 7.984 kB / 1.375 GB, free: 3.125 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/1.138, allocations: 23.88 kB / 1.375 GB, free: 3.102 MB / 1.092 GB Notification: Performance of sorting global known variables: time 4.53e-05/1.138, allocations: 83.27 kB / 1.375 GB, free: 3.02 MB / 1.092 GB Notification: Performance of sort global known variables: time 9.1e-08/1.138, allocations: 0 / 1.375 GB, free: 3.02 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001087/1.139, allocations: 295.7 kB / 1.375 GB, free: 2.73 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001671/1.141, allocations: 402.9 kB / 1.375 GB, free: 2.324 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0002584/1.141, allocations: 119.9 kB / 1.376 GB, free: 2.207 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.141, allocations: 0 / 1.376 GB, free: 2.207 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/1.141, allocations: 95.84 kB / 1.376 GB, free: 2.113 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/1.142, allocations: 23.97 kB / 1.376 GB, free: 2.09 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006626/1.142, allocations: 306.9 kB / 1.376 GB, free: 1.758 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/1.143, allocations: 0.7172 MB / 1.377 GB, free: 1.016 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001296/1.143, allocations: 32.34 kB / 1.377 GB, free: 0.9844 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/1.143, allocations: 19.44 kB / 1.377 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of SimCode: time 5.21e-07/1.143, allocations: 0 / 1.377 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of Templates: time 0.01808/1.161, allocations: 9.813 MB / 1.386 GB, free: 7.152 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches