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.007206/0.007206, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001259/0.001259, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.238/2.238, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001445, allocations: 63.91 kB / 0.9504 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8499/0.8514, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1569/1.008, allocations: 135.6 MB / 1.22 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009069/1.017, allocations: 7.922 MB / 1.228 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.704e-05/1.018, allocations: 5.562 kB / 1.228 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001683/1.018, allocations: 23.83 kB / 1.228 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.624e-05/1.018, allocations: 18.34 kB / 1.228 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004033/1.022, allocations: 1.474 MB / 1.229 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/1.022, allocations: 65.97 kB / 1.229 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/1.022, allocations: 4.375 kB / 1.229 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/1.022, allocations: 52.73 kB / 1.229 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.601e-05/1.022, allocations: 35.77 kB / 1.229 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/1.022, allocations: 7.844 kB / 1.229 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004815/1.027, allocations: 2.7 MB / 1.232 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/1.027, allocations: 15.33 kB / 1.232 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/1.027, allocations: 32.7 kB / 1.232 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002569/1.03, allocations: 1.371 MB / 1.233 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.03, allocations: 0 / 1.233 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.006e-06/1.03, allocations: 3.938 kB / 1.233 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.398e-06/1.03, allocations: 4.938 kB / 1.233 GB, free: 6.719 MB / 0.9669 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.001335/1.031, allocations: 0.4987 MB / 1.234 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/1.031, allocations: 9.438 kB / 1.234 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/1.031, allocations: 37.22 kB / 1.234 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004039/1.032, allocations: 26.88 kB / 1.234 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/1.032, allocations: 167 kB / 1.234 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.49e-05/1.032, allocations: 40.73 kB / 1.234 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/1.032, allocations: 4.469 kB / 1.234 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003782/1.032, allocations: 120.8 kB / 1.234 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/1.032, allocations: 0 / 1.234 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/1.032, allocations: 9.25 kB / 1.234 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/1.032, allocations: 1.438 kB / 1.234 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/1.033, allocations: 112.2 kB / 1.234 GB, free: 5.828 MB / 0.9669 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.0005306/1.033, allocations: 385.2 kB / 1.235 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/1.033, allocations: 126.8 kB / 1.235 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.012e-05/1.034, allocations: 50.97 kB / 1.235 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01283/1.046, allocations: 4.233 MB / 1.239 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/1.047, allocations: 34.56 kB / 1.239 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 2.425e-06/1.047, allocations: 0 / 1.239 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0006369/1.047, allocations: 165.5 kB / 1.239 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/1.047, allocations: 51.41 kB / 1.239 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.599e-05/1.047, allocations: 101.8 kB / 1.239 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/1.047, allocations: 29.7 kB / 1.239 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/1.047, allocations: 84.14 kB / 1.239 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/1.047, allocations: 43.44 kB / 1.239 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/1.048, allocations: 41.64 kB / 1.239 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001085/1.048, allocations: 322.8 kB / 1.24 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.939e-05/1.048, allocations: 23.98 kB / 1.24 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.248e-05/1.048, allocations: 20 kB / 1.24 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/1.048, allocations: 72.47 kB / 1.24 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.048, allocations: 0 / 1.24 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001843/1.048, allocations: 109.6 kB / 1.24 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.048, allocations: 8 kB / 1.24 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/1.048, allocations: 0 / 1.24 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/1.048, allocations: 4 kB / 1.24 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/1.048, allocations: 23.92 kB / 1.24 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/1.048, allocations: 0 / 1.24 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.491e-05/1.048, allocations: 7.938 kB / 1.24 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/1.048, allocations: 11.98 kB / 1.24 GB, free: 1.082 MB / 0.9669 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 7.677e-05/1.048, allocations: 109.8 kB / 1.24 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/1.048, allocations: 7.906 kB / 1.24 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/1.049, allocations: 372.1 kB / 1.24 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/1.049, allocations: 8 kB / 1.24 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.049, allocations: 7.938 kB / 1.241 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/1.049, allocations: 8.109 kB / 1.241 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/1.049, allocations: 285 kB / 1.241 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.049, allocations: 3.984 kB / 1.241 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.956e-05/1.049, allocations: 19.98 kB / 1.241 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/1.049, allocations: 4 kB / 1.241 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/1.049, allocations: 4 kB / 1.241 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/1.049, allocations: 4 kB / 1.241 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.049, allocations: 0 / 1.241 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/1.05, allocations: 327.2 kB / 1.241 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.317e-05/1.05, allocations: 108.8 kB / 1.241 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/1.05, allocations: 0 / 1.241 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/1.05, allocations: 11.98 kB / 1.241 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/1.05, allocations: 7.938 kB / 1.241 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/1.05, allocations: 7.984 kB / 1.241 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.12e-05/1.05, allocations: 83.28 kB / 1.241 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/1.05, allocations: 0 / 1.241 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001263/1.051, allocations: 299.9 kB / 1.242 GB, free: 15.34 MB / 0.9825 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.002289/1.054, allocations: 1.153 MB / 1.243 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000233/1.054, allocations: 127.9 kB / 1.243 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.054, allocations: 0 / 1.243 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/1.054, allocations: 107.9 kB / 1.243 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/1.054, allocations: 30.2 kB / 1.243 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/1.056, allocations: 432.8 kB / 1.243 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/1.056, allocations: 0.7127 MB / 1.244 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000113/1.056, allocations: 32.34 kB / 1.244 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/1.056, allocations: 35.42 kB / 1.244 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/1.056, allocations: 3.938 kB / 1.244 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03327/1.089, allocations: 11.62 MB / 1.256 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.765/8.854, allocations: 11.55 kB / 1.256 GB, free: 1.078 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.csv","/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