Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001503/0.001503, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001735/0.001735, allocations: 220.7 kB / 23.03 MB, free: 4.945 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.401/1.401, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.128/3.128, allocations: 0.5003 GB / 0.8062 GB, free: 28.26 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_latest_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.001913/0.001913, allocations: 66.11 kB / 1.17 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.351, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1542/0.5052, allocations: 119 MB / 1.462 GB, free: 8.43 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01/0.5152, allocations: 7.231 MB / 1.469 GB, free: 1.168 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.659e-05/0.5153, allocations: 0 / 1.469 GB, free: 1.168 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.5155, allocations: 19.86 kB / 1.469 GB, free: 1.148 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 6.088e-05/0.5155, allocations: 19.84 kB / 1.469 GB, free: 1.129 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003807/0.5193, allocations: 1.47 MB / 1.47 GB, free: 15.66 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.5195, allocations: 67.72 kB / 1.47 GB, free: 15.59 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.5195, allocations: 11.98 kB / 1.47 GB, free: 15.58 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.5196, allocations: 39.84 kB / 1.47 GB, free: 15.54 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 9.602e-05/0.5197, allocations: 39.83 kB / 1.47 GB, free: 15.5 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.5197, allocations: 4 kB / 1.47 GB, free: 15.5 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005295/0.525, allocations: 2.684 MB / 1.473 GB, free: 12.81 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 4.133e-05/0.5251, allocations: 19.91 kB / 1.473 GB, free: 12.79 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 7.264e-05/0.5251, allocations: 23.92 kB / 1.473 GB, free: 12.77 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002824/0.528, allocations: 1.395 MB / 1.474 GB, free: 11.37 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.528, allocations: 0 / 1.474 GB, free: 11.37 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.343e-06/0.528, allocations: 4 kB / 1.474 GB, free: 11.37 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.528, allocations: 0 / 1.474 GB, free: 11.37 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.001269/0.5292, allocations: 425.2 kB / 1.475 GB, free: 10.92 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.5293, allocations: 12.03 kB / 1.475 GB, free: 10.91 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.945e-05/0.5293, allocations: 192 / 1.475 GB, free: 10.91 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.678e-05/0.5294, allocations: 42.73 kB / 1.475 GB, free: 10.86 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000405/0.5298, allocations: 20.88 kB / 1.475 GB, free: 10.84 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.5299, allocations: 118.4 kB / 1.475 GB, free: 10.7 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.53, allocations: 63.52 kB / 1.475 GB, free: 10.62 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.53, allocations: 12 kB / 1.475 GB, free: 10.61 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004275/0.5305, allocations: 141.8 kB / 1.475 GB, free: 10.46 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.5305, allocations: 0 / 1.475 GB, free: 10.46 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.5305, allocations: 0 / 1.475 GB, free: 10.46 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.5305, allocations: 7.984 kB / 1.475 GB, free: 10.46 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003143/0.5308, allocations: 123.8 kB / 1.475 GB, free: 10.34 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.0005016/0.5313, allocations: 295.7 kB / 1.475 GB, free: 10 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.5316, allocations: 122.6 kB / 1.476 GB, free: 9.875 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.01e-05/0.5317, allocations: 44.83 kB / 1.476 GB, free: 9.828 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01114/0.5428, allocations: 3.044 MB / 1.479 GB, free: 6.781 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.5428, allocations: 38.56 kB / 1.479 GB, free: 6.734 MB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.5428, allocations: 0 / 1.479 GB, free: 6.734 MB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.0005323/0.5434, allocations: 165.5 kB / 1.479 GB, free: 6.566 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.5434, allocations: 55.41 kB / 1.479 GB, free: 6.5 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.883e-05/0.5435, allocations: 101.8 kB / 1.479 GB, free: 6.391 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.5435, allocations: 29.7 kB / 1.479 GB, free: 6.355 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.5436, allocations: 88.12 kB / 1.479 GB, free: 6.266 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.5436, allocations: 43.55 kB / 1.479 GB, free: 6.223 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.5437, allocations: 29.7 kB / 1.479 GB, free: 6.188 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.5438, allocations: 326.8 kB / 1.479 GB, free: 5.859 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.106e-05/0.5439, allocations: 27.92 kB / 1.479 GB, free: 5.832 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.92e-05/0.5439, allocations: 23.98 kB / 1.479 GB, free: 5.809 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.544, allocations: 70.61 kB / 1.48 GB, free: 5.738 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.544, allocations: 0 / 1.48 GB, free: 5.738 MB / 1.17 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002013/0.5442, allocations: 106.9 kB / 1.48 GB, free: 5.629 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.5443, allocations: 6.031 kB / 1.48 GB, free: 5.625 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.5443, allocations: 4 kB / 1.48 GB, free: 5.621 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.5443, allocations: 0 / 1.48 GB, free: 5.621 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.5444, allocations: 19.98 kB / 1.48 GB, free: 5.602 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.5444, allocations: 7.938 kB / 1.48 GB, free: 5.594 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.431e-05/0.5445, allocations: 11.95 kB / 1.48 GB, free: 5.582 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.5445, allocations: 3.984 kB / 1.48 GB, free: 5.578 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.359e-05/0.5446, allocations: 117.8 kB / 1.48 GB, free: 5.453 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.5446, allocations: 8.141 kB / 1.48 GB, free: 5.445 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000501/0.5451, allocations: 376.4 kB / 1.48 GB, free: 5.07 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.5451, allocations: 8 kB / 1.48 GB, free: 5.062 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.5452, allocations: 3.938 kB / 1.48 GB, free: 5.059 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.5452, allocations: 3.984 kB / 1.48 GB, free: 5.055 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.5455, allocations: 256.2 kB / 1.48 GB, free: 4.762 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.5455, allocations: 4 kB / 1.48 GB, free: 4.758 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.5456, allocations: 23.92 kB / 1.48 GB, free: 4.734 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.5456, allocations: 4 kB / 1.48 GB, free: 4.73 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.5456, allocations: 4 kB / 1.48 GB, free: 4.727 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.5456, allocations: 3.938 kB / 1.48 GB, free: 4.723 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5456, allocations: 3.938 kB / 1.48 GB, free: 4.719 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.546, allocations: 331.3 kB / 1.481 GB, free: 4.379 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.546, allocations: 27.86 kB / 1.481 GB, free: 4.352 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.546, allocations: 4 kB / 1.481 GB, free: 4.348 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.5462, allocations: 4 kB / 1.481 GB, free: 4.344 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.5462, allocations: 19.91 kB / 1.481 GB, free: 4.324 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.5462, allocations: 12 kB / 1.481 GB, free: 4.312 MB / 1.17 GB Notification: Performance of sorting global known variables: time 5.17e-05/0.5463, allocations: 75.28 kB / 1.481 GB, free: 4.238 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5463, allocations: 4 kB / 1.481 GB, free: 4.234 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008623/0.5471, allocations: 311.6 kB / 1.481 GB, free: 3.93 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.002033/0.5492, allocations: 1.157 MB / 1.482 GB, free: 2.746 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002432/0.5494, allocations: 131.8 kB / 1.482 GB, free: 2.617 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5494, allocations: 0 / 1.482 GB, free: 2.617 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.5495, allocations: 87.91 kB / 1.483 GB, free: 2.531 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.5499, allocations: 23.92 kB / 1.483 GB, free: 2.508 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.5509, allocations: 434.1 kB / 1.483 GB, free: 2.039 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.651e-05/0.551, allocations: 110.3 kB / 1.483 GB, free: 1.914 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001104/0.5511, allocations: 32.34 kB / 1.483 GB, free: 1.883 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/0.5512, allocations: 39.42 kB / 1.483 GB, free: 1.844 MB / 1.17 GB Notification: Performance of SimCode: time 4.4e-07/0.5512, allocations: 0 / 1.483 GB, free: 1.844 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03594/0.5871, allocations: 12.01 MB / 1.495 GB, free: 5.984 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.74, allocations: 5.953 kB / 1.495 GB, free: 5.98 MB / 1.186 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.35137767496053]