Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_9_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_9_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.009985/0.009985, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.002036/0.002036, allocations: 189.1 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.234/2.234, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.91 kB / 0.9508 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9593/0.9606, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1897/1.15, allocations: 135.6 MB / 1.22 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009744/1.16, allocations: 7.93 MB / 1.228 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.743e-05/1.16, allocations: 0 / 1.228 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002166/1.16, allocations: 25.48 kB / 1.228 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.217e-05/1.161, allocations: 14.05 kB / 1.228 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004825/1.165, allocations: 1.468 MB / 1.23 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/1.166, allocations: 75 kB / 1.23 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.765e-05/1.166, allocations: 3.281 kB / 1.23 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/1.166, allocations: 48.3 kB / 1.23 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/1.166, allocations: 32.77 kB / 1.23 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/1.166, allocations: 7.562 kB / 1.23 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004848/1.171, allocations: 2.7 MB / 1.232 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/1.171, allocations: 19.59 kB / 1.232 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.994e-05/1.171, allocations: 33.23 kB / 1.232 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002284/1.173, allocations: 1.375 MB / 1.234 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.173, allocations: 0 / 1.234 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/1.173, allocations: 1.375 kB / 1.234 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.712e-06/1.173, allocations: 3.938 kB / 1.234 GB, free: 6.871 MB / 0.9669 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.001074/1.174, allocations: 0.4915 MB / 1.234 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/1.174, allocations: 9.625 kB / 1.234 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003692/1.175, allocations: 26.56 kB / 1.234 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/1.175, allocations: 165.7 kB / 1.234 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.7e-05/1.175, allocations: 34.39 kB / 1.234 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/1.175, allocations: 12.06 kB / 1.234 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/1.175, allocations: 120.2 kB / 1.235 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/1.175, allocations: 0 / 1.235 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/1.175, allocations: 5.375 kB / 1.235 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/1.175, allocations: 5.375 kB / 1.235 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/1.176, allocations: 112.4 kB / 1.235 GB, free: 6.031 MB / 0.9669 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.0005246/1.176, allocations: 385.1 kB / 1.235 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002315/1.176, allocations: 134.9 kB / 1.235 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.618e-05/1.176, allocations: 50.53 kB / 1.235 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01129/1.188, allocations: 4.231 MB / 1.239 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/1.188, allocations: 38.56 kB / 1.239 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 2.123e-06/1.188, allocations: 0 / 1.239 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005464/1.188, allocations: 164.6 kB / 1.24 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/1.188, allocations: 55.41 kB / 1.24 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.058e-05/1.189, allocations: 97.86 kB / 1.24 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/1.189, allocations: 25.7 kB / 1.24 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/1.189, allocations: 84.14 kB / 1.24 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/1.189, allocations: 47.44 kB / 1.24 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.128e-05/1.189, allocations: 33.64 kB / 1.24 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.189, allocations: 322.8 kB / 1.24 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.55e-05/1.189, allocations: 27.98 kB / 1.24 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.632e-05/1.189, allocations: 20 kB / 1.24 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/1.189, allocations: 76.84 kB / 1.24 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.189, allocations: 0 / 1.24 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001632/1.189, allocations: 101.6 kB / 1.24 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/1.189, allocations: 4 kB / 1.24 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/1.189, allocations: 0 / 1.24 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/1.189, allocations: 4 kB / 1.24 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/1.189, allocations: 31.92 kB / 1.24 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/1.189, allocations: 0 / 1.24 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/1.19, allocations: 3.938 kB / 1.24 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/1.19, allocations: 7.984 kB / 1.24 GB, free: 1.051 MB / 0.9669 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 8.441e-05/1.19, allocations: 117.8 kB / 1.241 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/1.19, allocations: 11.84 kB / 1.241 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004473/1.19, allocations: 368.2 kB / 1.241 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/1.19, allocations: 0 / 1.241 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.19, allocations: 0 / 1.241 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/1.19, allocations: 11.92 kB / 1.241 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/1.19, allocations: 293 kB / 1.241 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.19, allocations: 0 / 1.241 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.394e-05/1.191, allocations: 19.98 kB / 1.241 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/1.191, allocations: 0 / 1.241 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/1.191, allocations: 4 kB / 1.241 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/1.191, allocations: 8 kB / 1.241 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.191, allocations: 0 / 1.241 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/1.191, allocations: 327.2 kB / 1.242 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/1.191, allocations: 104.8 kB / 1.242 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/1.191, allocations: 4 kB / 1.242 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/1.191, allocations: 4 kB / 1.242 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/1.191, allocations: 11.98 kB / 1.242 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/1.191, allocations: 11.92 kB / 1.242 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.846e-05/1.191, allocations: 79.28 kB / 1.242 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/1.191, allocations: 0 / 1.242 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001339/1.193, allocations: 299.9 kB / 1.242 GB, free: 15.31 MB / 0.9825 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.001223/1.194, allocations: 403.2 kB / 1.242 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002168/1.194, allocations: 131 kB / 1.243 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.194, allocations: 0 / 1.243 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/1.194, allocations: 111.9 kB / 1.243 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/1.195, allocations: 19.97 kB / 1.243 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005152/1.195, allocations: 308.5 kB / 1.243 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/1.195, allocations: 0.7166 MB / 1.244 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001086/1.196, allocations: 28.34 kB / 1.244 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/1.196, allocations: 15.44 kB / 1.244 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/1.196, allocations: 0 / 1.244 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of Templates: time 0.01682/1.212, allocations: 9.826 MB / 1.253 GB, free: 3.707 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches