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.001669/0.001669, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002175/0.002175, allocations: 216 kB / 22.25 MB, free: 5.105 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.568/1.568, allocations: 230.6 MB / 256 MB, free: 7.801 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.198/3.198, allocations: 0.49 GB / 0.7951 GB, free: 35.55 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.001995/0.001995, allocations: 62.66 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.378, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.169/0.547, allocations: 119.1 MB / 1.442 GB, free: 9.895 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.5577, allocations: 7.24 MB / 1.449 GB, free: 2.629 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.5577, allocations: 0 / 1.449 GB, free: 2.629 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.5579, allocations: 19.84 kB / 1.449 GB, free: 2.609 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 7.309e-05/0.558, allocations: 19.86 kB / 1.449 GB, free: 2.59 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004138/0.5621, allocations: 1.452 MB / 1.451 GB, free: 1.137 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.5623, allocations: 83.58 kB / 1.451 GB, free: 1.055 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.377e-05/0.5624, allocations: 4 kB / 1.451 GB, free: 1.051 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.5625, allocations: 43.84 kB / 1.451 GB, free: 1.008 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 9.962e-05/0.5626, allocations: 39.83 kB / 1.451 GB, free: 0.9688 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.5626, allocations: 0 / 1.451 GB, free: 0.9688 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004712/0.5673, allocations: 2.68 MB / 1.453 GB, free: 14.29 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 3.839e-05/0.5674, allocations: 15.97 kB / 1.453 GB, free: 14.27 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 5.081e-05/0.5674, allocations: 27.86 kB / 1.454 GB, free: 14.24 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002432/0.5698, allocations: 1.399 MB / 1.455 GB, free: 12.84 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5699, allocations: 0 / 1.455 GB, free: 12.84 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5699, allocations: 0 / 1.455 GB, free: 12.84 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.5699, allocations: 0 / 1.455 GB, free: 12.84 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.001071/0.5709, allocations: 433.2 kB / 1.455 GB, free: 12.39 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.571, allocations: 8.031 kB / 1.455 GB, free: 12.38 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.571, allocations: 42.73 kB / 1.455 GB, free: 12.33 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003643/0.5714, allocations: 20.88 kB / 1.455 GB, free: 12.31 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.5715, allocations: 114.5 kB / 1.455 GB, free: 12.17 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.94e-05/0.5716, allocations: 71.66 kB / 1.456 GB, free: 12.09 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.5716, allocations: 4 kB / 1.456 GB, free: 12.09 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.572, allocations: 147.2 kB / 1.456 GB, free: 11.93 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.572, allocations: 3.984 kB / 1.456 GB, free: 11.93 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.5721, allocations: 0 / 1.456 GB, free: 11.93 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.5721, allocations: 7.984 kB / 1.456 GB, free: 11.92 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.5724, allocations: 115.9 kB / 1.456 GB, free: 11.8 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.0005564/0.5729, allocations: 291.8 kB / 1.456 GB, free: 11.48 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.5732, allocations: 116.3 kB / 1.456 GB, free: 11.36 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.115e-05/0.5733, allocations: 56.83 kB / 1.456 GB, free: 11.3 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01285/0.5861, allocations: 3.036 MB / 1.459 GB, free: 8.258 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.5862, allocations: 30.56 kB / 1.459 GB, free: 8.219 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 2.414e-06/0.5862, allocations: 0 / 1.459 GB, free: 8.219 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0006028/0.5868, allocations: 173.5 kB / 1.459 GB, free: 8.043 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.5868, allocations: 51.41 kB / 1.459 GB, free: 7.98 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.983e-05/0.5869, allocations: 109.7 kB / 1.46 GB, free: 7.863 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.587, allocations: 25.7 kB / 1.46 GB, free: 7.832 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.587, allocations: 88.12 kB / 1.46 GB, free: 7.742 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.5871, allocations: 47.58 kB / 1.46 GB, free: 7.695 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-05/0.5871, allocations: 29.72 kB / 1.46 GB, free: 7.66 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.5873, allocations: 318.8 kB / 1.46 GB, free: 7.34 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.892e-05/0.5873, allocations: 19.98 kB / 1.46 GB, free: 7.32 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.424e-05/0.5874, allocations: 31.11 kB / 1.46 GB, free: 7.293 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.5875, allocations: 64.86 kB / 1.46 GB, free: 7.227 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.5875, allocations: 4 kB / 1.46 GB, free: 7.223 MB / 1.154 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002111/0.5877, allocations: 117.6 kB / 1.46 GB, free: 7.102 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.5877, allocations: 4 kB / 1.46 GB, free: 7.098 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.5878, allocations: 0 / 1.46 GB, free: 7.098 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.5878, allocations: 0 / 1.46 GB, free: 7.098 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.5879, allocations: 31.92 kB / 1.46 GB, free: 7.066 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.5879, allocations: 0 / 1.46 GB, free: 7.066 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.3e-05/0.588, allocations: 11.88 kB / 1.46 GB, free: 7.055 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.588, allocations: 8 kB / 1.46 GB, free: 7.047 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 0.0001161/0.5881, allocations: 114.4 kB / 1.46 GB, free: 6.926 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.5882, allocations: 7.938 kB / 1.46 GB, free: 6.918 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005358/0.5887, allocations: 380.1 kB / 1.461 GB, free: 6.539 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.5887, allocations: 8 kB / 1.461 GB, free: 6.531 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5887, allocations: 0 / 1.461 GB, free: 6.531 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.5887, allocations: 7.922 kB / 1.461 GB, free: 6.523 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003538/0.5891, allocations: 252.5 kB / 1.461 GB, free: 6.234 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.5891, allocations: 0 / 1.461 GB, free: 6.234 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.5892, allocations: 19.98 kB / 1.461 GB, free: 6.215 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5892, allocations: 4 kB / 1.461 GB, free: 6.211 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.5892, allocations: 7.938 kB / 1.461 GB, free: 6.203 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5892, allocations: 0 / 1.461 GB, free: 6.203 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5892, allocations: 0 / 1.461 GB, free: 6.203 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004452/0.5897, allocations: 339 kB / 1.461 GB, free: 5.855 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 6.9e-05/0.5897, allocations: 31.81 kB / 1.461 GB, free: 5.824 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.5897, allocations: 0 / 1.461 GB, free: 5.824 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.5899, allocations: 12 kB / 1.461 GB, free: 5.812 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.59, allocations: 15.91 kB / 1.461 GB, free: 5.797 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.59, allocations: 4 kB / 1.461 GB, free: 5.793 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.405e-05/0.59, allocations: 87.45 kB / 1.462 GB, free: 5.707 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.59, allocations: 3.938 kB / 1.462 GB, free: 5.703 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001242/0.5913, allocations: 307.6 kB / 1.462 GB, free: 5.402 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.002061/0.5933, allocations: 1.165 MB / 1.463 GB, free: 4.211 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002928/0.5936, allocations: 119.9 kB / 1.463 GB, free: 4.094 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5936, allocations: 0 / 1.463 GB, free: 4.094 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.5938, allocations: 102.4 kB / 1.463 GB, free: 3.996 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.5941, allocations: 22.84 kB / 1.463 GB, free: 3.977 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.5953, allocations: 426.1 kB / 1.464 GB, free: 3.516 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.774e-05/0.5954, allocations: 106.3 kB / 1.464 GB, free: 3.395 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.5955, allocations: 32.34 kB / 1.464 GB, free: 3.363 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.779e-05/0.5956, allocations: 39.42 kB / 1.464 GB, free: 3.324 MB / 1.154 GB Notification: Performance of SimCode: time 4.81e-07/0.5956, allocations: 0 / 1.464 GB, free: 3.324 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04502/0.6406, allocations: 12.36 MB / 1.476 GB, free: 7.105 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.18, allocations: 10.16 kB / 1.476 GB, free: 7.098 MB / 1.17 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.054550959001062]