Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006663/0.0006663, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000768/0.000768, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8696/0.8696, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.696/1.696, allocations: 377.9 MB / 0.6228 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.9822 GB, free: 1.008 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.728e-05, allocations: 2.281 kB / 0.9822 GB, free: 1.004 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.5726/0.5726, allocations: 119.1 MB / 1.099 GB, free: 2.051 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.006602/0.5792, allocations: 7.239 MB / 1.106 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.392e-05/0.5793, allocations: 0 / 1.106 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.5794, allocations: 17.12 kB / 1.106 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.567e-05/0.5795, allocations: 21.94 kB / 1.106 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002932/0.5824, allocations: 1.466 MB / 1.107 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.5825, allocations: 76.28 kB / 1.107 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.5826, allocations: 3.031 kB / 1.107 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.5827, allocations: 63.66 kB / 1.107 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.5828, allocations: 34.88 kB / 1.107 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.5828, allocations: 3.656 kB / 1.107 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003217/0.586, allocations: 2.618 MB / 1.11 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.586, allocations: 13.81 kB / 1.11 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.5861, allocations: 26.25 kB / 1.11 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.588, allocations: 1.797 MB / 1.112 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.588, allocations: 0 / 1.112 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.733e-06/0.588, allocations: 0 / 1.112 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.588, allocations: 0 / 1.112 GB, free: 11.66 MB / 0.9636 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.001147/0.5892, allocations: 433.2 kB / 1.112 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.5892, allocations: 13.5 kB / 1.112 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/0.5894, allocations: 25.84 kB / 1.112 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.98e-05/0.5895, allocations: 116.3 kB / 1.112 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.778e-05/0.5896, allocations: 63.09 kB / 1.112 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.5896, allocations: 4.312 kB / 1.112 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.5898, allocations: 148.9 kB / 1.112 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.5898, allocations: 3.938 kB / 1.112 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.5899, allocations: 1.125 kB / 1.112 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.5899, allocations: 1.531 kB / 1.112 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.59, allocations: 120.5 kB / 1.112 GB, free: 10.99 MB / 0.9636 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.0003573/0.5904, allocations: 262.9 kB / 1.113 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.5906, allocations: 124.6 kB / 1.113 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.84e-05/0.5906, allocations: 51.28 kB / 1.113 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005617/0.5963, allocations: 3.047 MB / 1.116 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.5963, allocations: 35.72 kB / 1.116 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.5963, allocations: 3.938 kB / 1.116 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0003544/0.5966, allocations: 172 kB / 1.116 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.5967, allocations: 57.94 kB / 1.116 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.273e-05/0.5967, allocations: 98.84 kB / 1.116 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.5967, allocations: 29.7 kB / 1.116 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.5968, allocations: 81.39 kB / 1.116 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.5968, allocations: 45.14 kB / 1.116 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.5968, allocations: 30.27 kB / 1.116 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.942e-05/0.5969, allocations: 321.2 kB / 1.117 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.532e-05/0.597, allocations: 24.98 kB / 1.117 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.352e-05/0.597, allocations: 26.36 kB / 1.117 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.638e-05/0.5971, allocations: 70.12 kB / 1.117 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5971, allocations: 3.938 kB / 1.117 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001269/0.5972, allocations: 117.4 kB / 1.117 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.5972, allocations: 6.531 kB / 1.117 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5972, allocations: 0 / 1.117 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.5972, allocations: 3.984 kB / 1.117 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.019e-05/0.5973, allocations: 21.67 kB / 1.117 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.5973, allocations: 1.062 kB / 1.117 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/0.5973, allocations: 9.328 kB / 1.117 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.5974, allocations: 2.469 kB / 1.117 GB, free: 8.973 MB / 0.9636 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 6.582e-05/0.5974, allocations: 121.9 kB / 1.117 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.5974, allocations: 6.516 kB / 1.117 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003265/0.5978, allocations: 388.5 kB / 1.117 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.5978, allocations: 6.172 kB / 1.117 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5978, allocations: 1.094 kB / 1.117 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.5978, allocations: 0 / 1.117 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.598, allocations: 214.1 kB / 1.118 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.598, allocations: 4.969 kB / 1.118 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.598, allocations: 21.42 kB / 1.118 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.598, allocations: 0 / 1.118 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.598, allocations: 6.156 kB / 1.118 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.598, allocations: 7.562 kB / 1.118 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.598, allocations: 8.031 kB / 1.118 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.5983, allocations: 329.5 kB / 1.118 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.5983, allocations: 34.45 kB / 1.118 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.5983, allocations: 5.344 kB / 1.118 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.5984, allocations: 11.7 kB / 1.118 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.5984, allocations: 6.609 kB / 1.118 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.5984, allocations: 4.938 kB / 1.118 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.75e-05/0.5984, allocations: 85.8 kB / 1.118 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.5984, allocations: 0 / 1.118 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0007382/0.5992, allocations: 300 kB / 1.118 GB, free: 8.008 MB / 0.9636 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.0009681/0.6002, allocations: 449 kB / 1.119 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.6003, allocations: 126.5 kB / 1.119 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6003, allocations: 0 / 1.119 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.247e-05/0.6004, allocations: 89.72 kB / 1.119 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.6006, allocations: 23.27 kB / 1.119 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004133/0.601, allocations: 335.2 kB / 1.119 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.303e-05/0.6011, allocations: 103 kB / 1.12 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.6012, allocations: 20.09 kB / 1.12 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of SimCode: time 4.21e-07/0.6012, allocations: 1.219 kB / 1.12 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of Templates: time 0.008233/0.6094, allocations: 6.967 MB / 1.126 GB, free: 3.781 MB / 0.9636 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.3589916080236435]