Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_11_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.008275/0.008275, allocations: 98.91 kB / 15.73 MB, free: 5.988 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.002052/0.002052, allocations: 193.8 kB / 16.67 MB, free: 5.918 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.848/2.848, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 55.91 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3043, allocations: 159.1 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.7735/1.078, allocations: 135.5 MB / 1.352 GB, free: 9.801 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0104/1.088, allocations: 7.927 MB / 1.36 GB, free: 4.359 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.399e-05/1.088, allocations: 0 / 1.36 GB, free: 4.359 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001711/1.089, allocations: 31.66 kB / 1.36 GB, free: 4.34 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.984e-05/1.089, allocations: 20.59 kB / 1.36 GB, free: 4.324 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004869/1.094, allocations: 1.453 MB / 1.362 GB, free: 3.809 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001731/1.094, allocations: 79.66 kB / 1.362 GB, free: 3.773 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/1.094, allocations: 6.359 kB / 1.362 GB, free: 3.773 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/1.094, allocations: 45.16 kB / 1.362 GB, free: 3.754 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/1.094, allocations: 31.25 kB / 1.362 GB, free: 3.742 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/1.094, allocations: 7.156 kB / 1.362 GB, free: 3.738 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005006/1.099, allocations: 2.703 MB / 1.364 GB, free: 3.062 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/1.099, allocations: 20.7 kB / 1.365 GB, free: 3.051 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/1.099, allocations: 31.45 kB / 1.365 GB, free: 3.035 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0021/1.101, allocations: 1.38 MB / 1.366 GB, free: 2.539 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/1.101, allocations: 0 / 1.366 GB, free: 2.539 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.393e-06/1.101, allocations: 0 / 1.366 GB, free: 2.539 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.27e-06/1.101, allocations: 1.125 kB / 1.366 GB, free: 2.539 MB / 1.061 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.001171/1.103, allocations: 0.4973 MB / 1.366 GB, free: 2.086 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/1.103, allocations: 10.66 kB / 1.366 GB, free: 2.086 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.06e-05/1.103, allocations: 40 kB / 1.366 GB, free: 2.039 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003682/1.103, allocations: 27.77 kB / 1.366 GB, free: 2.027 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/1.103, allocations: 169.4 kB / 1.367 GB, free: 1.824 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.519e-05/1.103, allocations: 30.27 kB / 1.367 GB, free: 1.793 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/1.103, allocations: 12.53 kB / 1.367 GB, free: 1.785 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/1.104, allocations: 119.6 kB / 1.367 GB, free: 1.703 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/1.104, allocations: 1.312 kB / 1.367 GB, free: 1.703 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/1.104, allocations: 4 kB / 1.367 GB, free: 1.699 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/1.104, allocations: 2.812 kB / 1.367 GB, free: 1.699 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/1.104, allocations: 115.8 kB / 1.367 GB, free: 1.645 MB / 1.061 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.000502/1.104, allocations: 376.4 kB / 1.367 GB, free: 1.25 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/1.105, allocations: 128.5 kB / 1.367 GB, free: 1.172 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.041e-05/1.105, allocations: 50.66 kB / 1.367 GB, free: 1.145 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01219/1.117, allocations: 4.235 MB / 1.372 GB, free: 14.41 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/1.117, allocations: 31.81 kB / 1.372 GB, free: 14.37 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 2.775e-06/1.117, allocations: 4 kB / 1.372 GB, free: 14.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0006462/1.118, allocations: 172 kB / 1.372 GB, free: 14.26 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/1.118, allocations: 52.94 kB / 1.372 GB, free: 14.2 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.479e-05/1.118, allocations: 102.5 kB / 1.372 GB, free: 14.09 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/1.118, allocations: 26.86 kB / 1.372 GB, free: 14.06 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/1.118, allocations: 85.23 kB / 1.372 GB, free: 13.98 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.62e-05/1.118, allocations: 44.94 kB / 1.372 GB, free: 13.94 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/1.118, allocations: 30.02 kB / 1.372 GB, free: 13.91 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.118, allocations: 328.1 kB / 1.372 GB, free: 13.58 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.897e-05/1.118, allocations: 25.92 kB / 1.372 GB, free: 13.57 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.313e-05/1.119, allocations: 21.78 kB / 1.372 GB, free: 13.56 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/1.119, allocations: 76.38 kB / 1.373 GB, free: 13.52 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.119, allocations: 0 / 1.373 GB, free: 13.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002208/1.119, allocations: 106.4 kB / 1.373 GB, free: 13.46 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/1.119, allocations: 5.281 kB / 1.373 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/1.119, allocations: 3.938 kB / 1.373 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/1.119, allocations: 1.031 kB / 1.373 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/1.119, allocations: 24.98 kB / 1.373 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/1.119, allocations: 5.031 kB / 1.373 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.041e-05/1.119, allocations: 13.33 kB / 1.373 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/1.119, allocations: 11.11 kB / 1.373 GB, free: 13.42 MB / 1.076 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.0001013/1.119, allocations: 112.8 kB / 1.373 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/1.119, allocations: 6.953 kB / 1.373 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004986/1.12, allocations: 375 kB / 1.373 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/1.12, allocations: 6.5 kB / 1.373 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/1.12, allocations: 0 / 1.373 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/1.12, allocations: 13.11 kB / 1.373 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/1.12, allocations: 281.4 kB / 1.373 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/1.12, allocations: 1 kB / 1.373 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.653e-05/1.12, allocations: 21.14 kB / 1.373 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.12, allocations: 1.438 kB / 1.373 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/1.12, allocations: 5.344 kB / 1.373 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/1.12, allocations: 1.125 kB / 1.373 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.12, allocations: 0 / 1.373 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/1.121, allocations: 335.9 kB / 1.374 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.668e-05/1.121, allocations: 106.9 kB / 1.374 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/1.121, allocations: 4.875 kB / 1.374 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/1.121, allocations: 7.188 kB / 1.374 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/1.121, allocations: 9.141 kB / 1.374 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/1.121, allocations: 11.7 kB / 1.374 GB, free: 12.4 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.349e-05/1.121, allocations: 81.78 kB / 1.374 GB, free: 12.32 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.9e-07/1.121, allocations: 0 / 1.374 GB, free: 12.32 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001433/1.123, allocations: 298.1 kB / 1.374 GB, free: 12.29 MB / 1.076 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.002105/1.125, allocations: 1.161 MB / 1.375 GB, free: 11.42 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002426/1.125, allocations: 121.7 kB / 1.376 GB, free: 11.37 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.125, allocations: 0 / 1.376 GB, free: 11.37 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/1.125, allocations: 114.9 kB / 1.376 GB, free: 11.31 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/1.125, allocations: 20.11 kB / 1.376 GB, free: 11.3 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009621/1.126, allocations: 437.8 kB / 1.376 GB, free: 10.99 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/1.127, allocations: 0.7125 MB / 1.377 GB, free: 10.28 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001144/1.127, allocations: 34.94 kB / 1.377 GB, free: 10.26 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.289e-05/1.127, allocations: 38.45 kB / 1.377 GB, free: 10.23 MB / 1.076 GB Notification: Performance of SimCode: time 3.596e-06/1.127, allocations: 0 / 1.377 GB, free: 10.23 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03992/1.167, allocations: 11.63 MB / 1.388 GB, free: 4.156 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.417/9.584, allocations: 10.12 kB / 1.388 GB, free: 4.148 MB / 1.076 GB (rm -f Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches