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.001909/0.001909, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002493/0.002493, allocations: 218.6 kB / 22.26 MB, free: 5.117 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 8.012 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.429/3.429, allocations: 0.49 GB / 0.7951 GB, free: 33.41 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",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.002041/0.002041, allocations: 73.41 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3699, allocations: 176.1 MB / 1.326 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1723/0.5422, allocations: 138.8 MB / 1.461 GB, free: 6.621 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0113/0.5536, allocations: 8.045 MB / 1.469 GB, free: 14.55 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.26e-05/0.5536, allocations: 0 / 1.469 GB, free: 14.55 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.5538, allocations: 27.83 kB / 1.469 GB, free: 14.52 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 5.692e-05/0.5539, allocations: 27.78 kB / 1.469 GB, free: 14.49 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004117/0.558, allocations: 1.481 MB / 1.471 GB, free: 13.01 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.5581, allocations: 75.66 kB / 1.471 GB, free: 12.94 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.5582, allocations: 0 / 1.471 GB, free: 12.94 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.5583, allocations: 55.77 kB / 1.471 GB, free: 12.88 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.5584, allocations: 31.89 kB / 1.471 GB, free: 12.85 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.5584, allocations: 4 kB / 1.471 GB, free: 12.85 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005061/0.5635, allocations: 2.712 MB / 1.474 GB, free: 10.13 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/0.5635, allocations: 15.92 kB / 1.474 GB, free: 10.12 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 5.391e-05/0.5636, allocations: 35.84 kB / 1.474 GB, free: 10.08 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002613/0.5662, allocations: 1.388 MB / 1.475 GB, free: 8.691 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.5662, allocations: 0 / 1.475 GB, free: 8.691 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.216e-06/0.5662, allocations: 7.984 kB / 1.475 GB, free: 8.684 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.5662, allocations: 0 / 1.475 GB, free: 8.684 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.00115/0.5673, allocations: 429.2 kB / 1.475 GB, free: 8.234 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.5674, allocations: 8.031 kB / 1.475 GB, free: 8.227 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.723e-05/0.5674, allocations: 42.73 kB / 1.475 GB, free: 8.176 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003799/0.5678, allocations: 24.88 kB / 1.476 GB, free: 8.152 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.568, allocations: 114.5 kB / 1.476 GB, free: 8.016 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.963e-05/0.5681, allocations: 63.7 kB / 1.476 GB, free: 7.941 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.5681, allocations: 8 kB / 1.476 GB, free: 7.934 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.5685, allocations: 117.5 kB / 1.476 GB, free: 7.812 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.5685, allocations: 3.938 kB / 1.476 GB, free: 7.809 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.5685, allocations: 0 / 1.476 GB, free: 7.809 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.5685, allocations: 4 kB / 1.476 GB, free: 7.805 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.5688, allocations: 119.9 kB / 1.476 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.0005996/0.5694, allocations: 355.2 kB / 1.476 GB, free: 7.285 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.5697, allocations: 118.5 kB / 1.476 GB, free: 7.16 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.288e-05/0.5698, allocations: 41.72 kB / 1.476 GB, free: 7.117 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0118/0.5816, allocations: 3.032 MB / 1.479 GB, free: 4.082 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.5816, allocations: 42.55 kB / 1.479 GB, free: 4.031 MB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 2.184e-06/0.5816, allocations: 0 / 1.479 GB, free: 4.031 MB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.0006296/0.5822, allocations: 165 kB / 1.48 GB, free: 3.867 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.5823, allocations: 55.34 kB / 1.48 GB, free: 3.801 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.5824, allocations: 105.8 kB / 1.48 GB, free: 3.688 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.5824, allocations: 33.7 kB / 1.48 GB, free: 3.648 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.5825, allocations: 84.12 kB / 1.48 GB, free: 3.562 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-05/0.5825, allocations: 43.58 kB / 1.48 GB, free: 3.52 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/0.5826, allocations: 29.72 kB / 1.48 GB, free: 3.484 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.5827, allocations: 322.8 kB / 1.48 GB, free: 3.16 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.182e-05/0.5828, allocations: 23.98 kB / 1.48 GB, free: 3.137 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.977e-05/0.5828, allocations: 27.98 kB / 1.48 GB, free: 3.109 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.583, allocations: 64.8 kB / 1.48 GB, free: 3.043 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.583, allocations: 0 / 1.48 GB, free: 3.043 MB / 1.17 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002046/0.5832, allocations: 109.6 kB / 1.48 GB, free: 2.93 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.5832, allocations: 7.938 kB / 1.48 GB, free: 2.922 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.5832, allocations: 7.984 kB / 1.48 GB, free: 2.914 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.5832, allocations: 4 kB / 1.48 GB, free: 2.91 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.5833, allocations: 16 kB / 1.48 GB, free: 2.895 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.5833, allocations: 7.922 kB / 1.48 GB, free: 2.887 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.919e-05/0.5834, allocations: 15.89 kB / 1.48 GB, free: 2.871 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.5834, allocations: 0 / 1.48 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 9.5e-05/0.5835, allocations: 114.4 kB / 1.481 GB, free: 2.75 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.5836, allocations: 4 kB / 1.481 GB, free: 2.746 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005021/0.5841, allocations: 384 kB / 1.481 GB, free: 2.363 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.5841, allocations: 15.98 kB / 1.481 GB, free: 2.348 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5841, allocations: 0 / 1.481 GB, free: 2.348 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.5841, allocations: 3.938 kB / 1.481 GB, free: 2.344 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.5844, allocations: 252.5 kB / 1.481 GB, free: 2.055 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5844, allocations: 0 / 1.481 GB, free: 2.055 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.5845, allocations: 23.98 kB / 1.481 GB, free: 2.031 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.5845, allocations: 4 kB / 1.481 GB, free: 2.027 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.5845, allocations: 4 kB / 1.481 GB, free: 2.023 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5845, allocations: 0 / 1.481 GB, free: 2.023 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5845, allocations: 0 / 1.481 GB, free: 2.023 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.5849, allocations: 354.9 kB / 1.482 GB, free: 1.66 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/0.5849, allocations: 19.83 kB / 1.482 GB, free: 1.641 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.585, allocations: 8 kB / 1.482 GB, free: 1.633 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.5851, allocations: 3.984 kB / 1.482 GB, free: 1.629 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.5851, allocations: 11.92 kB / 1.482 GB, free: 1.617 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.5852, allocations: 8 kB / 1.482 GB, free: 1.609 MB / 1.17 GB Notification: Performance of sorting global known variables: time 4.475e-05/0.5852, allocations: 83.27 kB / 1.482 GB, free: 1.527 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5852, allocations: 0 / 1.482 GB, free: 1.527 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001003/0.5862, allocations: 311.6 kB / 1.482 GB, free: 1.223 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.002096/0.5883, allocations: 1.157 MB / 1.483 GB, free: 40 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.000264/0.5886, allocations: 127.5 kB / 1.483 GB, free: 15.91 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.5886, allocations: 0 / 1.483 GB, free: 15.91 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.5887, allocations: 98.14 kB / 1.483 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.0003175/0.589, allocations: 23.86 kB / 1.483 GB, free: 15.8 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.5901, allocations: 438 kB / 1.484 GB, free: 15.32 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.5904, allocations: 0.7165 MB / 1.485 GB, free: 14.58 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.5906, allocations: 32.34 kB / 1.485 GB, free: 14.55 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.936e-05/0.5906, allocations: 39.42 kB / 1.485 GB, free: 14.51 MB / 1.186 GB Notification: Performance of SimCode: time 4.91e-07/0.5906, allocations: 0 / 1.485 GB, free: 14.51 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04617/0.6368, allocations: 11.99 MB / 1.496 GB, free: 2.652 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.17, allocations: 15.97 kB / 1.496 GB, free: 2.637 MB / 1.186 GB " [Timeout remaining time 288] (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.255851048976183]