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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002193/0.002193, allocations: 192.1 kB / 22.17 MB, free: 5.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.846/2.846, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] 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=2500,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=2500,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 72.06 kB / 1.109 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9798/0.9818, allocations: 168.7 MB / 1.274 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.189/1.171, allocations: 136 MB / 1.407 GB, free: 11.89 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0104/1.181, allocations: 7.985 MB / 1.415 GB, free: 3.875 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/1.181, allocations: 0 / 1.415 GB, free: 3.875 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001997/1.181, allocations: 27.89 kB / 1.415 GB, free: 3.848 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 5.723e-05/1.181, allocations: 15.84 kB / 1.415 GB, free: 3.832 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004117/1.186, allocations: 1.463 MB / 1.416 GB, free: 2.371 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/1.186, allocations: 79.58 kB / 1.416 GB, free: 2.293 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/1.186, allocations: 0 / 1.416 GB, free: 2.293 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/1.186, allocations: 59.83 kB / 1.416 GB, free: 2.234 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/1.186, allocations: 23.92 kB / 1.416 GB, free: 2.211 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/1.186, allocations: 4 kB / 1.416 GB, free: 2.207 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004829/1.191, allocations: 2.708 MB / 1.419 GB, free: 15.5 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 3.651e-05/1.191, allocations: 11.97 kB / 1.419 GB, free: 15.48 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/1.191, allocations: 31.88 kB / 1.419 GB, free: 15.45 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002105/1.193, allocations: 1.38 MB / 1.42 GB, free: 14.07 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.193, allocations: 0 / 1.42 GB, free: 14.07 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.184e-06/1.193, allocations: 0 / 1.42 GB, free: 14.07 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.183e-06/1.193, allocations: 0 / 1.42 GB, free: 14.07 MB / 1.123 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.001106/1.194, allocations: 0.5023 MB / 1.421 GB, free: 13.52 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/1.194, allocations: 11.97 kB / 1.421 GB, free: 13.51 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003669/1.195, allocations: 24.88 kB / 1.421 GB, free: 13.48 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/1.195, allocations: 164.4 kB / 1.421 GB, free: 13.29 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.434e-05/1.195, allocations: 38.2 kB / 1.421 GB, free: 13.24 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/1.195, allocations: 7.938 kB / 1.421 GB, free: 13.23 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/1.195, allocations: 124.2 kB / 1.421 GB, free: 13.11 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/1.195, allocations: 4 kB / 1.421 GB, free: 13.11 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/1.195, allocations: 4 kB / 1.421 GB, free: 13.1 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/1.195, allocations: 4 kB / 1.421 GB, free: 13.1 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/1.196, allocations: 115.9 kB / 1.421 GB, free: 12.98 MB / 1.123 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.0005683/1.196, allocations: 376.1 kB / 1.422 GB, free: 12.55 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/1.196, allocations: 110.6 kB / 1.422 GB, free: 12.44 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.629e-05/1.197, allocations: 52.83 kB / 1.422 GB, free: 12.38 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01261/1.209, allocations: 4.226 MB / 1.426 GB, free: 7.84 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/1.209, allocations: 38.56 kB / 1.426 GB, free: 7.793 MB / 1.123 GB Notification: Performance of pre-optimization done (n=13): time 2.174e-06/1.209, allocations: 0 / 1.426 GB, free: 7.793 MB / 1.123 GB Notification: Performance of matching and sorting (n=13): time 0.0005799/1.21, allocations: 168.1 kB / 1.426 GB, free: 7.625 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/1.21, allocations: 59.34 kB / 1.426 GB, free: 7.555 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/1.21, allocations: 101.8 kB / 1.426 GB, free: 7.445 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/1.21, allocations: 29.7 kB / 1.426 GB, free: 7.41 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/1.21, allocations: 88.22 kB / 1.426 GB, free: 7.32 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/1.21, allocations: 47.59 kB / 1.426 GB, free: 7.273 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-05/1.21, allocations: 29.7 kB / 1.426 GB, free: 7.238 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001765/1.21, allocations: 318.8 kB / 1.427 GB, free: 6.918 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.516e-05/1.21, allocations: 27.98 kB / 1.427 GB, free: 6.891 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.282e-05/1.21, allocations: 23.98 kB / 1.427 GB, free: 6.867 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/1.211, allocations: 69.34 kB / 1.427 GB, free: 6.797 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.211, allocations: 7.938 kB / 1.427 GB, free: 6.789 MB / 1.123 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002065/1.211, allocations: 110.5 kB / 1.427 GB, free: 6.676 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.211, allocations: 4 kB / 1.427 GB, free: 6.672 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.211, allocations: 4 kB / 1.427 GB, free: 6.668 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/1.211, allocations: 0 / 1.427 GB, free: 6.668 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/1.211, allocations: 23.98 kB / 1.427 GB, free: 6.645 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/1.211, allocations: 0 / 1.427 GB, free: 6.645 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.934e-05/1.211, allocations: 15.83 kB / 1.427 GB, free: 6.629 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/1.211, allocations: 4 kB / 1.427 GB, free: 6.625 MB / 1.123 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.0001055/1.211, allocations: 113.8 kB / 1.427 GB, free: 6.504 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.855e-05/1.211, allocations: 11.89 kB / 1.427 GB, free: 6.492 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005356/1.212, allocations: 380 kB / 1.427 GB, free: 6.117 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/1.212, allocations: 3.984 kB / 1.427 GB, free: 6.113 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.212, allocations: 0 / 1.427 GB, free: 6.113 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.212, allocations: 3.938 kB / 1.427 GB, free: 6.109 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/1.212, allocations: 281.4 kB / 1.428 GB, free: 5.785 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/1.212, allocations: 0 / 1.428 GB, free: 5.785 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/1.212, allocations: 23.98 kB / 1.428 GB, free: 5.762 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/1.212, allocations: 0 / 1.428 GB, free: 5.762 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/1.212, allocations: 7.922 kB / 1.428 GB, free: 5.754 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.212, allocations: 4 kB / 1.428 GB, free: 5.75 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/1.212, allocations: 0 / 1.428 GB, free: 5.75 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/1.213, allocations: 335 kB / 1.428 GB, free: 5.406 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/1.213, allocations: 104.9 kB / 1.428 GB, free: 5.285 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/1.213, allocations: 8 kB / 1.428 GB, free: 5.277 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/1.213, allocations: 0 / 1.428 GB, free: 5.277 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/1.213, allocations: 15.98 kB / 1.428 GB, free: 5.262 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/1.213, allocations: 7.938 kB / 1.428 GB, free: 5.254 MB / 1.123 GB Notification: Performance of sorting global known variables: time 5.049e-05/1.213, allocations: 83.2 kB / 1.428 GB, free: 5.172 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.213, allocations: 4 kB / 1.428 GB, free: 5.168 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001023/1.214, allocations: 303.7 kB / 1.429 GB, free: 4.871 MB / 1.123 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.001274/1.215, allocations: 399.5 kB / 1.429 GB, free: 4.473 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002503/1.216, allocations: 121.1 kB / 1.429 GB, free: 4.355 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.216, allocations: 0 / 1.429 GB, free: 4.355 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/1.216, allocations: 87.91 kB / 1.429 GB, free: 4.27 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/1.216, allocations: 17.55 kB / 1.429 GB, free: 4.254 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005615/1.217, allocations: 316.3 kB / 1.43 GB, free: 3.914 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/1.217, allocations: 0.7166 MB / 1.43 GB, free: 3.172 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001054/1.217, allocations: 32.34 kB / 1.43 GB, free: 3.141 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/1.217, allocations: 23.42 kB / 1.43 GB, free: 3.117 MB / 1.123 GB Notification: Performance of SimCode: time 3.01e-07/1.217, allocations: 0 / 1.43 GB, free: 3.117 MB / 1.123 GB Notification: Performance of Templates: time 0.01676/1.234, allocations: 9.879 MB / 1.44 GB, free: 9.234 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.904332980979234]