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.001357/0.001357, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001531/0.001531, allocations: 218.7 kB / 22.99 MB, free: 4.914 MB / 14.72 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 1.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.182/3.182, allocations: 0.4892 GB / 0.7951 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 73.97 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3785, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1643/0.5428, allocations: 119.1 MB / 1.443 GB, free: 10.33 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01038/0.5532, allocations: 7.243 MB / 1.45 GB, free: 3.059 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.653e-05/0.5533, allocations: 0 / 1.45 GB, free: 3.059 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.5535, allocations: 11.92 kB / 1.45 GB, free: 3.047 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 6.366e-05/0.5535, allocations: 23.78 kB / 1.45 GB, free: 3.023 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004091/0.5576, allocations: 1.46 MB / 1.451 GB, free: 1.566 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.5578, allocations: 67.72 kB / 1.451 GB, free: 1.5 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.5578, allocations: 7.984 kB / 1.451 GB, free: 1.492 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.5579, allocations: 55.78 kB / 1.451 GB, free: 1.438 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 9.459e-05/0.558, allocations: 35.83 kB / 1.451 GB, free: 1.402 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.5581, allocations: 0 / 1.451 GB, free: 1.402 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004568/0.5626, allocations: 2.61 MB / 1.454 GB, free: 14.79 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 4.275e-05/0.5627, allocations: 19.91 kB / 1.454 GB, free: 14.77 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.395e-05/0.5627, allocations: 27.92 kB / 1.454 GB, free: 14.74 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.5647, allocations: 1.388 MB / 1.455 GB, free: 13.35 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5648, allocations: 0 / 1.455 GB, free: 13.35 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5648, allocations: 0 / 1.455 GB, free: 13.35 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.5648, allocations: 0 / 1.455 GB, free: 13.35 MB / 1.154 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.0009446/0.5657, allocations: 437.2 kB / 1.456 GB, free: 12.89 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.5657, allocations: 8.031 kB / 1.456 GB, free: 12.89 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003533/0.5661, allocations: 28.86 kB / 1.456 GB, free: 12.86 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.5662, allocations: 114.4 kB / 1.456 GB, free: 12.72 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.498e-05/0.5663, allocations: 55.97 kB / 1.456 GB, free: 12.66 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.5663, allocations: 11.94 kB / 1.456 GB, free: 12.64 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003758/0.5667, allocations: 143.3 kB / 1.456 GB, free: 12.49 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.5667, allocations: 3.938 kB / 1.456 GB, free: 12.49 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.5667, allocations: 8 kB / 1.456 GB, free: 12.48 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5667, allocations: 4 kB / 1.456 GB, free: 12.48 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.567, allocations: 119.8 kB / 1.456 GB, free: 12.36 MB / 1.154 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.0004802/0.5675, allocations: 276.3 kB / 1.456 GB, free: 12.06 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.5678, allocations: 118.5 kB / 1.457 GB, free: 11.93 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.794e-05/0.5679, allocations: 48.84 kB / 1.457 GB, free: 11.88 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01151/0.5794, allocations: 3.032 MB / 1.46 GB, free: 8.848 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.5794, allocations: 38.55 kB / 1.46 GB, free: 8.801 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/0.5794, allocations: 4 kB / 1.46 GB, free: 8.797 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0005217/0.5799, allocations: 169.5 kB / 1.46 GB, free: 8.625 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.58, allocations: 51.41 kB / 1.46 GB, free: 8.562 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.96e-05/0.5801, allocations: 101.8 kB / 1.46 GB, free: 8.453 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.5801, allocations: 29.7 kB / 1.46 GB, free: 8.418 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.5801, allocations: 84.12 kB / 1.46 GB, free: 8.332 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/0.5802, allocations: 47.58 kB / 1.46 GB, free: 8.285 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.5802, allocations: 25.72 kB / 1.46 GB, free: 8.254 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5804, allocations: 322.8 kB / 1.46 GB, free: 7.93 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.026e-05/0.5805, allocations: 23.98 kB / 1.46 GB, free: 7.906 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.769e-05/0.5805, allocations: 27.98 kB / 1.46 GB, free: 7.879 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.5806, allocations: 71.17 kB / 1.46 GB, free: 7.809 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5806, allocations: 0 / 1.46 GB, free: 7.809 MB / 1.154 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001874/0.5808, allocations: 109.6 kB / 1.461 GB, free: 7.695 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.5808, allocations: 8 kB / 1.461 GB, free: 7.688 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.5808, allocations: 3.984 kB / 1.461 GB, free: 7.684 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.5809, allocations: 0 / 1.461 GB, free: 7.684 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.581, allocations: 20 kB / 1.461 GB, free: 7.664 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.581, allocations: 3.984 kB / 1.461 GB, free: 7.66 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.842e-05/0.581, allocations: 11.89 kB / 1.461 GB, free: 7.648 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.5811, allocations: 4 kB / 1.461 GB, free: 7.645 MB / 1.154 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 9.5e-05/0.5811, allocations: 118.3 kB / 1.461 GB, free: 7.52 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.5812, allocations: 4 kB / 1.461 GB, free: 7.516 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000517/0.5817, allocations: 384.1 kB / 1.461 GB, free: 7.133 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.5817, allocations: 7.984 kB / 1.461 GB, free: 7.125 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5817, allocations: 0 / 1.461 GB, free: 7.125 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5817, allocations: 0 / 1.461 GB, free: 7.125 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.582, allocations: 217 kB / 1.461 GB, free: 6.883 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.582, allocations: 3.938 kB / 1.461 GB, free: 6.879 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.5821, allocations: 31.92 kB / 1.461 GB, free: 6.848 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5821, allocations: 0 / 1.461 GB, free: 6.848 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.5821, allocations: 4 kB / 1.461 GB, free: 6.844 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.5821, allocations: 0 / 1.461 GB, free: 6.844 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.5821, allocations: 0 / 1.461 GB, free: 6.844 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/0.5825, allocations: 339 kB / 1.462 GB, free: 6.496 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.5826, allocations: 27.81 kB / 1.462 GB, free: 6.469 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.5826, allocations: 4 kB / 1.462 GB, free: 6.465 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.5827, allocations: 11.94 kB / 1.462 GB, free: 6.453 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.5828, allocations: 15.97 kB / 1.462 GB, free: 6.438 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.5828, allocations: 7.938 kB / 1.462 GB, free: 6.43 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.795e-05/0.5828, allocations: 79.28 kB / 1.462 GB, free: 6.352 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.5828, allocations: 0 / 1.462 GB, free: 6.352 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008581/0.5837, allocations: 315.6 kB / 1.462 GB, free: 6.043 MB / 1.154 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/0.5849, allocations: 405.3 kB / 1.463 GB, free: 5.641 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002486/0.5851, allocations: 123.8 kB / 1.463 GB, free: 5.52 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5851, allocations: 0 / 1.463 GB, free: 5.52 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.5853, allocations: 91.91 kB / 1.463 GB, free: 5.43 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.5856, allocations: 11.98 kB / 1.463 GB, free: 5.418 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006144/0.5862, allocations: 346.5 kB / 1.463 GB, free: 5.043 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.5863, allocations: 106.4 kB / 1.463 GB, free: 4.922 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.5863, allocations: 15.44 kB / 1.463 GB, free: 4.906 MB / 1.154 GB Notification: Performance of SimCode: time 2.9e-07/0.5863, allocations: 0 / 1.463 GB, free: 4.906 MB / 1.154 GB Notification: Performance of Templates: time 0.01196/0.5983, allocations: 6.914 MB / 1.47 GB, free: 13.98 MB / 1.17 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/jenkins1/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: 11.983618560712785]