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.001707/0.001707, allocations: 114.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.001979/0.001979, allocations: 192.5 kB / 22.17 MB, free: 5.656 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.447/1.447, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.864/2.864, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] 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.001974/0.001974, allocations: 75.89 kB / 1.109 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8548/0.8567, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1723/1.029, allocations: 136 MB / 1.407 GB, free: 12.05 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01062/1.04, allocations: 7.978 MB / 1.415 GB, free: 4.039 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/1.04, allocations: 4 kB / 1.415 GB, free: 4.035 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002581/1.04, allocations: 15.91 kB / 1.415 GB, free: 4.02 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 9.085e-05/1.04, allocations: 27.77 kB / 1.415 GB, free: 3.992 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005163/1.045, allocations: 1.468 MB / 1.416 GB, free: 2.527 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001735/1.045, allocations: 75.64 kB / 1.416 GB, free: 2.453 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/1.046, allocations: 0 / 1.416 GB, free: 2.453 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/1.046, allocations: 55.83 kB / 1.416 GB, free: 2.398 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/1.046, allocations: 27.91 kB / 1.416 GB, free: 2.371 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/1.046, allocations: 8 kB / 1.416 GB, free: 2.363 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005045/1.051, allocations: 2.7 MB / 1.419 GB, free: 15.66 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 3.346e-05/1.051, allocations: 19.83 kB / 1.419 GB, free: 15.64 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/1.051, allocations: 31.86 kB / 1.419 GB, free: 15.61 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002452/1.053, allocations: 1.38 MB / 1.42 GB, free: 14.23 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.053, allocations: 0 / 1.42 GB, free: 14.23 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.713e-06/1.053, allocations: 0 / 1.42 GB, free: 14.23 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.011e-06/1.053, allocations: 3.938 kB / 1.42 GB, free: 14.22 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.001122/1.055, allocations: 0.4946 MB / 1.421 GB, free: 13.68 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.055, allocations: 8.031 kB / 1.421 GB, free: 13.67 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003765/1.055, allocations: 28.86 kB / 1.421 GB, free: 13.64 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/1.055, allocations: 164.3 kB / 1.421 GB, free: 13.45 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.189e-05/1.055, allocations: 30.27 kB / 1.421 GB, free: 13.41 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/1.055, allocations: 11.94 kB / 1.421 GB, free: 13.4 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/1.056, allocations: 121.5 kB / 1.421 GB, free: 13.27 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/1.056, allocations: 7.922 kB / 1.421 GB, free: 13.27 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/1.056, allocations: 4 kB / 1.421 GB, free: 13.26 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/1.056, allocations: 8 kB / 1.421 GB, free: 13.25 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/1.056, allocations: 115.8 kB / 1.421 GB, free: 13.14 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.0005334/1.056, allocations: 380 kB / 1.422 GB, free: 12.71 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/1.057, allocations: 114.6 kB / 1.422 GB, free: 12.59 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.587e-05/1.057, allocations: 52.81 kB / 1.422 GB, free: 12.53 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01271/1.07, allocations: 4.222 MB / 1.426 GB, free: 7.992 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/1.07, allocations: 46.56 kB / 1.426 GB, free: 7.938 MB / 1.123 GB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/1.07, allocations: 0 / 1.426 GB, free: 7.938 MB / 1.123 GB Notification: Performance of matching and sorting (n=13): time 0.0005645/1.07, allocations: 164.6 kB / 1.426 GB, free: 7.773 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/1.07, allocations: 63.39 kB / 1.426 GB, free: 7.699 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.52e-05/1.07, allocations: 93.86 kB / 1.426 GB, free: 7.598 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/1.07, allocations: 29.7 kB / 1.426 GB, free: 7.562 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/1.07, allocations: 88.22 kB / 1.426 GB, free: 7.473 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/1.07, allocations: 47.58 kB / 1.426 GB, free: 7.426 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/1.07, allocations: 29.7 kB / 1.426 GB, free: 7.391 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.071, allocations: 322.8 kB / 1.427 GB, free: 7.066 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.236e-05/1.071, allocations: 27.98 kB / 1.427 GB, free: 7.039 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.901e-05/1.071, allocations: 23.98 kB / 1.427 GB, free: 7.016 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/1.071, allocations: 68.84 kB / 1.427 GB, free: 6.945 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/1.071, allocations: 0 / 1.427 GB, free: 6.945 MB / 1.123 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001934/1.071, allocations: 109.6 kB / 1.427 GB, free: 6.832 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/1.071, allocations: 5.719 kB / 1.427 GB, free: 6.828 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.071, allocations: 0 / 1.427 GB, free: 6.828 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/1.071, allocations: 4 kB / 1.427 GB, free: 6.824 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/1.071, allocations: 23.98 kB / 1.427 GB, free: 6.801 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/1.071, allocations: 3.938 kB / 1.427 GB, free: 6.797 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.987e-05/1.071, allocations: 15.83 kB / 1.427 GB, free: 6.781 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/1.071, allocations: 4 kB / 1.427 GB, free: 6.777 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.0001015/1.071, allocations: 121.8 kB / 1.427 GB, free: 6.648 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/1.071, allocations: 7.953 kB / 1.427 GB, free: 6.641 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004961/1.072, allocations: 364.1 kB / 1.427 GB, free: 6.281 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/1.072, allocations: 4 kB / 1.427 GB, free: 6.277 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.072, allocations: 4 kB / 1.427 GB, free: 6.273 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/1.072, allocations: 3.938 kB / 1.427 GB, free: 6.27 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/1.072, allocations: 285.4 kB / 1.428 GB, free: 5.941 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/1.072, allocations: 0 / 1.428 GB, free: 5.941 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/1.072, allocations: 23.92 kB / 1.428 GB, free: 5.918 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/1.072, allocations: 0 / 1.428 GB, free: 5.918 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/1.072, allocations: 4 kB / 1.428 GB, free: 5.914 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.072, allocations: 7.938 kB / 1.428 GB, free: 5.906 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.072, allocations: 0 / 1.428 GB, free: 5.906 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/1.073, allocations: 331 kB / 1.428 GB, free: 5.566 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 8.358e-05/1.073, allocations: 108.9 kB / 1.428 GB, free: 5.441 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/1.073, allocations: 8 kB / 1.428 GB, free: 5.434 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/1.073, allocations: 4 kB / 1.428 GB, free: 5.43 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/1.073, allocations: 7.984 kB / 1.428 GB, free: 5.422 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/1.073, allocations: 15.92 kB / 1.428 GB, free: 5.406 MB / 1.123 GB Notification: Performance of sorting global known variables: time 4.576e-05/1.073, allocations: 79.45 kB / 1.428 GB, free: 5.328 MB / 1.123 GB Notification: Performance of sort global known variables: time 7.1e-08/1.073, allocations: 0 / 1.428 GB, free: 5.328 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009871/1.074, allocations: 303.7 kB / 1.429 GB, free: 5.031 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.001273/1.075, allocations: 399.2 kB / 1.429 GB, free: 4.633 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002405/1.076, allocations: 124.9 kB / 1.429 GB, free: 4.516 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.076, allocations: 0 / 1.429 GB, free: 4.516 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/1.076, allocations: 87.91 kB / 1.429 GB, free: 4.43 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/1.076, allocations: 15.98 kB / 1.429 GB, free: 4.414 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005657/1.077, allocations: 312.3 kB / 1.43 GB, free: 4.078 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/1.077, allocations: 0.7205 MB / 1.43 GB, free: 3.332 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.000105/1.077, allocations: 32.33 kB / 1.43 GB, free: 3.301 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/1.077, allocations: 19.44 kB / 1.43 GB, free: 3.281 MB / 1.123 GB Notification: Performance of SimCode: time 4.21e-07/1.077, allocations: 4 kB / 1.43 GB, free: 3.277 MB / 1.123 GB Notification: Performance of Templates: time 0.01563/1.093, allocations: 9.87 MB / 1.44 GB, free: 9.402 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 gbode -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.182356195058674]