Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005246/0.005246, allocations: 99.31 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 188.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.443/2.443, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 58.38 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2918, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1464/0.4382, allocations: 135.6 MB / 1.22 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01065/0.4489, allocations: 7.915 MB / 1.228 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.645e-05/0.449, allocations: 4 kB / 1.228 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.4493, allocations: 23.83 kB / 1.228 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.257e-05/0.4494, allocations: 15.86 kB / 1.228 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004355/0.4538, allocations: 1.466 MB / 1.229 GB, free: 456 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.4539, allocations: 79.62 kB / 1.229 GB, free: 376 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.454, allocations: 4.562 kB / 1.229 GB, free: 372 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.4541, allocations: 39.84 kB / 1.229 GB, free: 332 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.986e-05/0.4542, allocations: 39.84 kB / 1.229 GB, free: 292 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.4542, allocations: 0 / 1.229 GB, free: 292 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005377/0.4596, allocations: 2.704 MB / 1.232 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.639e-05/0.4597, allocations: 15.97 kB / 1.232 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.699e-05/0.4598, allocations: 35.8 kB / 1.232 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003795/0.4636, allocations: 1.388 MB / 1.233 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4636, allocations: 0 / 1.233 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4636, allocations: 0 / 1.233 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.4637, allocations: 0 / 1.233 GB, free: 12.14 MB / 0.9981 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.001599/0.4653, allocations: 495.1 kB / 1.234 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.966e-05/0.4653, allocations: 12.03 kB / 1.234 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.901e-05/0.4654, allocations: 42.67 kB / 1.234 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005004/0.4659, allocations: 32.83 kB / 1.234 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.4661, allocations: 164.4 kB / 1.234 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.902e-05/0.4662, allocations: 34.02 kB / 1.234 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.4663, allocations: 11.98 kB / 1.234 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004706/0.4667, allocations: 124.7 kB / 1.234 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.4668, allocations: 0 / 1.234 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.4668, allocations: 8 kB / 1.234 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.4668, allocations: 3.984 kB / 1.234 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003339/0.4671, allocations: 115.9 kB / 1.234 GB, free: 11.01 MB / 0.9981 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.0007199/0.4679, allocations: 376.1 kB / 1.235 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.4682, allocations: 130.5 kB / 1.235 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.4683, allocations: 48.84 kB / 1.235 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01223/0.4806, allocations: 4.238 MB / 1.239 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.4807, allocations: 30.56 kB / 1.239 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 2.124e-06/0.4807, allocations: 0 / 1.239 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0006222/0.4813, allocations: 165.5 kB / 1.239 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.4814, allocations: 59.34 kB / 1.239 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.416e-05/0.4815, allocations: 105.8 kB / 1.239 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.4815, allocations: 25.7 kB / 1.239 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.4816, allocations: 84.14 kB / 1.239 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.4816, allocations: 47.48 kB / 1.239 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-05/0.4817, allocations: 25.72 kB / 1.239 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4818, allocations: 318.8 kB / 1.24 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.398e-05/0.4819, allocations: 27.98 kB / 1.24 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.043e-05/0.4819, allocations: 31.86 kB / 1.24 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.4821, allocations: 68.84 kB / 1.24 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4821, allocations: 0 / 1.24 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002014/0.4823, allocations: 109.5 kB / 1.24 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4823, allocations: 4 kB / 1.24 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4823, allocations: 4 kB / 1.24 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.4823, allocations: 0 / 1.24 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.4825, allocations: 23.98 kB / 1.24 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.4825, allocations: 0 / 1.24 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.764e-05/0.4826, allocations: 15.88 kB / 1.24 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.4826, allocations: 0 / 1.24 GB, free: 4.648 MB / 0.9981 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.451e-05/0.4827, allocations: 113.8 kB / 1.24 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.4827, allocations: 7.906 kB / 1.24 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004951/0.4832, allocations: 376.2 kB / 1.24 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.4833, allocations: 3.984 kB / 1.24 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.4833, allocations: 4 kB / 1.241 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.4833, allocations: 3.938 kB / 1.241 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.4836, allocations: 285.1 kB / 1.241 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4836, allocations: 4 kB / 1.241 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.605e-05/0.4837, allocations: 19.98 kB / 1.241 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4837, allocations: 0 / 1.241 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.4838, allocations: 4 kB / 1.241 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4838, allocations: 0 / 1.241 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.4838, allocations: 3.938 kB / 1.241 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.4842, allocations: 335.1 kB / 1.241 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.274e-05/0.4843, allocations: 105 kB / 1.241 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.4843, allocations: 8 kB / 1.241 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.4845, allocations: 7.984 kB / 1.241 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.4845, allocations: 19.91 kB / 1.241 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.4845, allocations: 4 kB / 1.241 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.733e-05/0.4846, allocations: 79.28 kB / 1.241 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4846, allocations: 0 / 1.241 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00104/0.4856, allocations: 303.9 kB / 1.242 GB, free: 2.898 MB / 0.9981 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.002163/0.4878, allocations: 1.145 MB / 1.243 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000258/0.4881, allocations: 131.8 kB / 1.243 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4881, allocations: 0 / 1.243 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.4882, allocations: 108 kB / 1.243 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.4885, allocations: 27.8 kB / 1.243 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.4896, allocations: 426 kB / 1.243 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.49, allocations: 0.7166 MB / 1.244 GB, free: 268 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001215/0.4901, allocations: 16.42 kB / 1.244 GB, free: 252 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.659e-05/0.4902, allocations: 47.41 kB / 1.244 GB, free: 204 kB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.4902, allocations: 0 / 1.244 GB, free: 204 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03584/0.5261, allocations: 11.67 MB / 1.256 GB, free: 4.621 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.413/8.939, allocations: 14.62 kB / 1.256 GB, free: 4.609 MB / 1.014 GB (rm -f Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches