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.001714/0.001714, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002344/0.002344, allocations: 220.4 kB / 23.05 MB, free: 5.074 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.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.247/3.247, allocations: 0.49 GB / 0.7959 GB, free: 33.31 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: "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="cs",version="2.0",platforms={"static"}) [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.00204/0.00204, allocations: 71.08 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3981, allocations: 176.1 MB / 1.327 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1724/0.5705, allocations: 138.8 MB / 1.462 GB, free: 6.625 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01063/0.5811, allocations: 8.049 MB / 1.47 GB, free: 14.55 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.456e-05/0.5812, allocations: 4 kB / 1.47 GB, free: 14.54 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.5813, allocations: 23.88 kB / 1.47 GB, free: 14.52 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 5.782e-05/0.5814, allocations: 23.8 kB / 1.47 GB, free: 14.5 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003905/0.5853, allocations: 1.473 MB / 1.472 GB, free: 13.02 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.5854, allocations: 75.7 kB / 1.472 GB, free: 12.95 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.5855, allocations: 0 / 1.472 GB, free: 12.95 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.5856, allocations: 51.72 kB / 1.472 GB, free: 12.9 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.5857, allocations: 35.89 kB / 1.472 GB, free: 12.86 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.5857, allocations: 7.938 kB / 1.472 GB, free: 12.86 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004856/0.5906, allocations: 2.716 MB / 1.474 GB, free: 10.14 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 3.577e-05/0.5906, allocations: 15.92 kB / 1.474 GB, free: 10.12 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 6.038e-05/0.5907, allocations: 31.84 kB / 1.474 GB, free: 10.09 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002585/0.5933, allocations: 1.388 MB / 1.476 GB, free: 8.699 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.5933, allocations: 4 kB / 1.476 GB, free: 8.695 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5933, allocations: 0 / 1.476 GB, free: 8.695 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.5933, allocations: 0 / 1.476 GB, free: 8.695 MB / 1.17 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.001046/0.5943, allocations: 437.2 kB / 1.476 GB, free: 8.238 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.5944, allocations: 12.03 kB / 1.476 GB, free: 8.227 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.655e-05/0.5944, allocations: 4.188 kB / 1.476 GB, free: 8.223 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.5944, allocations: 34.75 kB / 1.476 GB, free: 8.18 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000352/0.5948, allocations: 28.86 kB / 1.476 GB, free: 8.152 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.5949, allocations: 110.5 kB / 1.476 GB, free: 8.02 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-05/0.595, allocations: 63.53 kB / 1.476 GB, free: 7.945 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.595, allocations: 7.938 kB / 1.476 GB, free: 7.938 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/0.5954, allocations: 125.5 kB / 1.477 GB, free: 7.809 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.5954, allocations: 4 kB / 1.477 GB, free: 7.805 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.5954, allocations: 0 / 1.477 GB, free: 7.805 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.5954, allocations: 0 / 1.477 GB, free: 7.805 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.5958, allocations: 119.9 kB / 1.477 GB, free: 7.688 MB / 1.17 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.0005608/0.5963, allocations: 351.2 kB / 1.477 GB, free: 7.289 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.5966, allocations: 118.5 kB / 1.477 GB, free: 7.164 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.524e-05/0.5967, allocations: 44.84 kB / 1.477 GB, free: 7.117 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01216/0.6088, allocations: 3.036 MB / 1.48 GB, free: 4.078 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.6089, allocations: 34.56 kB / 1.48 GB, free: 4.035 MB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.6089, allocations: 0 / 1.48 GB, free: 4.035 MB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.0006128/0.6095, allocations: 161.6 kB / 1.48 GB, free: 3.871 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.6096, allocations: 55.41 kB / 1.48 GB, free: 3.805 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.6097, allocations: 109.9 kB / 1.48 GB, free: 3.688 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.6097, allocations: 29.7 kB / 1.481 GB, free: 3.652 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/0.6098, allocations: 84.14 kB / 1.481 GB, free: 3.566 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.68e-05/0.6098, allocations: 47.58 kB / 1.481 GB, free: 3.52 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.566e-05/0.6099, allocations: 29.7 kB / 1.481 GB, free: 3.484 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.61, allocations: 314.8 kB / 1.481 GB, free: 3.168 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.6101, allocations: 27.98 kB / 1.481 GB, free: 3.141 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-05/0.6101, allocations: 19.98 kB / 1.481 GB, free: 3.121 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.6103, allocations: 71.09 kB / 1.481 GB, free: 3.051 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.6103, allocations: 4 kB / 1.481 GB, free: 3.047 MB / 1.17 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002119/0.6105, allocations: 113.6 kB / 1.481 GB, free: 2.93 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.6105, allocations: 4 kB / 1.481 GB, free: 2.926 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.6105, allocations: 3.984 kB / 1.481 GB, free: 2.922 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.6105, allocations: 11.86 kB / 1.481 GB, free: 2.91 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.6107, allocations: 23.98 kB / 1.481 GB, free: 2.887 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.6107, allocations: 3.938 kB / 1.481 GB, free: 2.883 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.322e-05/0.6107, allocations: 3.953 kB / 1.481 GB, free: 2.879 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.6107, allocations: 8 kB / 1.481 GB, free: 2.871 MB / 1.17 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.0001003/0.6108, allocations: 118.4 kB / 1.481 GB, free: 2.746 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.6109, allocations: 7.984 kB / 1.481 GB, free: 2.738 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005481/0.6114, allocations: 380 kB / 1.482 GB, free: 2.359 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.6115, allocations: 11.98 kB / 1.482 GB, free: 2.348 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.6115, allocations: 3.938 kB / 1.482 GB, free: 2.344 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.6115, allocations: 0 / 1.482 GB, free: 2.344 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.6118, allocations: 252.5 kB / 1.482 GB, free: 2.055 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.6118, allocations: 4 kB / 1.482 GB, free: 2.051 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.6119, allocations: 19.98 kB / 1.482 GB, free: 2.031 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.6119, allocations: 0 / 1.482 GB, free: 2.031 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.6119, allocations: 11.98 kB / 1.482 GB, free: 2.02 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.6119, allocations: 4 kB / 1.482 GB, free: 2.016 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.6119, allocations: 3.938 kB / 1.482 GB, free: 2.012 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/0.6124, allocations: 335 kB / 1.482 GB, free: 1.668 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/0.6124, allocations: 31.81 kB / 1.482 GB, free: 1.637 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.6124, allocations: 0 / 1.482 GB, free: 1.637 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.6126, allocations: 12 kB / 1.482 GB, free: 1.625 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.6126, allocations: 15.92 kB / 1.482 GB, free: 1.609 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.6126, allocations: 11.98 kB / 1.482 GB, free: 1.598 MB / 1.17 GB Notification: Performance of sorting global known variables: time 5.25e-05/0.6127, allocations: 79.28 kB / 1.482 GB, free: 1.52 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.6127, allocations: 0 / 1.482 GB, free: 1.52 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009499/0.6136, allocations: 307.6 kB / 1.483 GB, free: 1.219 MB / 1.17 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.002032/0.6157, allocations: 1.159 MB / 1.484 GB, free: 36 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002618/0.6159, allocations: 131.9 kB / 1.484 GB, free: 15.9 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6159, allocations: 0 / 1.484 GB, free: 15.9 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.6161, allocations: 87.97 kB / 1.484 GB, free: 15.82 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.6164, allocations: 21.12 kB / 1.484 GB, free: 15.8 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.6174, allocations: 434 kB / 1.485 GB, free: 15.33 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.6178, allocations: 0.7243 MB / 1.485 GB, free: 14.58 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.6179, allocations: 32.47 kB / 1.485 GB, free: 14.55 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.139e-05/0.618, allocations: 39.42 kB / 1.485 GB, free: 14.51 MB / 1.186 GB Notification: Performance of SimCode: time 5.71e-07/0.618, allocations: 0 / 1.485 GB, free: 14.51 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03777/0.6557, allocations: 12.03 MB / 1.497 GB, free: 2.633 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.49, allocations: 4.141 kB / 1.497 GB, free: 2.633 MB / 1.186 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 420.0] 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: 19.7127755159745]