Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_10_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.009116/0.009116, allocations: 97.42 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.001977/0.001977, allocations: 185.1 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.72/2.72, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.91 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3043, allocations: 151.6 MB / 1.166 GB, free: 7.383 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.7383/1.043, allocations: 135.5 MB / 1.299 GB, free: 13.79 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008953/1.052, allocations: 7.918 MB / 1.306 GB, free: 13.07 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.063e-05/1.052, allocations: 1.531 kB / 1.306 GB, free: 13.07 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001734/1.052, allocations: 25.73 kB / 1.306 GB, free: 13.05 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.424e-05/1.052, allocations: 18.77 kB / 1.306 GB, free: 13.05 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004862/1.057, allocations: 1.466 MB / 1.308 GB, free: 12.86 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/1.057, allocations: 73.05 kB / 1.308 GB, free: 12.85 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/1.057, allocations: 7.891 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/1.057, allocations: 44.94 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.866e-05/1.057, allocations: 32.77 kB / 1.308 GB, free: 12.83 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/1.057, allocations: 3.312 kB / 1.308 GB, free: 12.83 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004943/1.062, allocations: 2.7 MB / 1.311 GB, free: 12.79 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.044e-05/1.062, allocations: 13.67 kB / 1.311 GB, free: 12.79 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.867e-05/1.062, allocations: 33.75 kB / 1.311 GB, free: 12.78 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002567/1.065, allocations: 1.38 MB / 1.312 GB, free: 12.74 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/1.065, allocations: 0 / 1.312 GB, free: 12.74 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.203e-06/1.065, allocations: 1.062 kB / 1.312 GB, free: 12.74 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.128e-05/1.065, allocations: 0.75 kB / 1.312 GB, free: 12.74 MB / 1.014 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.001307/1.066, allocations: 0.4981 MB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/1.066, allocations: 10.34 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/1.066, allocations: 37.19 kB / 1.312 GB, free: 12.28 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003753/1.067, allocations: 27.28 kB / 1.312 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/1.067, allocations: 172.4 kB / 1.313 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.945e-05/1.067, allocations: 31.41 kB / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/1.067, allocations: 10.94 kB / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/1.067, allocations: 120.8 kB / 1.313 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/1.067, allocations: 1.094 kB / 1.313 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/1.067, allocations: 5.234 kB / 1.313 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.067, allocations: 6.281 kB / 1.313 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/1.068, allocations: 113 kB / 1.313 GB, free: 12 MB / 1.014 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.0005018/1.068, allocations: 384.6 kB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/1.069, allocations: 121.9 kB / 1.313 GB, free: 11.63 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.282e-05/1.069, allocations: 61.5 kB / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01222/1.081, allocations: 4.224 MB / 1.318 GB, free: 9.797 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/1.081, allocations: 32.03 kB / 1.318 GB, free: 9.758 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/1.081, allocations: 1.375 kB / 1.318 GB, free: 9.758 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.0005276/1.081, allocations: 169.2 kB / 1.318 GB, free: 9.719 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/1.082, allocations: 54.06 kB / 1.318 GB, free: 9.656 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.228e-05/1.082, allocations: 96.95 kB / 1.318 GB, free: 9.559 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/1.082, allocations: 29.98 kB / 1.318 GB, free: 9.527 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/1.082, allocations: 81.84 kB / 1.318 GB, free: 9.445 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/1.082, allocations: 52.45 kB / 1.318 GB, free: 9.41 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/1.082, allocations: 30.44 kB / 1.318 GB, free: 9.391 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.082, allocations: 323.3 kB / 1.318 GB, free: 9.074 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.37e-05/1.082, allocations: 23.48 kB / 1.318 GB, free: 9.074 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.458e-05/1.082, allocations: 28.19 kB / 1.318 GB, free: 9.07 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/1.082, allocations: 69.94 kB / 1.319 GB, free: 9.062 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.082, allocations: 4.75 kB / 1.319 GB, free: 9.059 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001752/1.082, allocations: 99.69 kB / 1.319 GB, free: 9.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/1.082, allocations: 8.719 kB / 1.319 GB, free: 9.016 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/1.082, allocations: 2.219 kB / 1.319 GB, free: 9.016 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/1.082, allocations: 0 / 1.319 GB, free: 9.016 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/1.083, allocations: 26.02 kB / 1.319 GB, free: 9.012 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/1.083, allocations: 0 / 1.319 GB, free: 9.012 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.746e-05/1.083, allocations: 14.14 kB / 1.319 GB, free: 9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/1.083, allocations: 11.53 kB / 1.319 GB, free: 8.996 MB / 1.014 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.0001042/1.083, allocations: 117.3 kB / 1.319 GB, free: 8.875 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/1.083, allocations: 10.98 kB / 1.319 GB, free: 8.867 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004994/1.083, allocations: 369.3 kB / 1.319 GB, free: 8.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/1.083, allocations: 9.172 kB / 1.319 GB, free: 8.676 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/1.083, allocations: 0 / 1.319 GB, free: 8.676 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/1.083, allocations: 3.938 kB / 1.319 GB, free: 8.672 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/1.084, allocations: 288.6 kB / 1.319 GB, free: 8.418 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.084, allocations: 1.625 kB / 1.319 GB, free: 8.418 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.918e-05/1.084, allocations: 22.27 kB / 1.319 GB, free: 8.414 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/1.084, allocations: 1.438 kB / 1.319 GB, free: 8.414 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/1.084, allocations: 3.094 kB / 1.319 GB, free: 8.414 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.084, allocations: 1.5 kB / 1.319 GB, free: 8.414 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.084, allocations: 4 kB / 1.319 GB, free: 8.41 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/1.084, allocations: 335.6 kB / 1.32 GB, free: 8.188 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.79e-05/1.084, allocations: 102 kB / 1.32 GB, free: 8.082 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/1.084, allocations: 1.406 kB / 1.32 GB, free: 8.082 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/1.085, allocations: 8.609 kB / 1.32 GB, free: 8.078 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/1.085, allocations: 9.078 kB / 1.32 GB, free: 8.078 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/1.085, allocations: 9 kB / 1.32 GB, free: 8.074 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.225e-05/1.085, allocations: 92.06 kB / 1.32 GB, free: 7.988 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/1.085, allocations: 0 / 1.32 GB, free: 7.988 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001791/1.086, allocations: 302 kB / 1.32 GB, free: 7.957 MB / 1.014 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.002274/1.089, allocations: 1.148 MB / 1.321 GB, free: 7.172 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002479/1.089, allocations: 130.7 kB / 1.322 GB, free: 7.129 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.089, allocations: 0 / 1.322 GB, free: 7.129 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/1.089, allocations: 123.5 kB / 1.322 GB, free: 7.074 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/1.089, allocations: 16.91 kB / 1.322 GB, free: 7.066 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000966/1.09, allocations: 429.1 kB / 1.322 GB, free: 6.797 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/1.091, allocations: 0.7177 MB / 1.323 GB, free: 6.098 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001183/1.091, allocations: 32.58 kB / 1.323 GB, free: 6.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.83e-05/1.091, allocations: 43.09 kB / 1.323 GB, free: 6.059 MB / 1.014 GB Notification: Performance of SimCode: time 2.4e-07/1.091, allocations: 0 / 1.323 GB, free: 6.059 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04135/1.132, allocations: 11.61 MB / 1.334 GB, free: 2.855 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.504/9.636, allocations: 14.2 kB / 1.334 GB, free: 2.844 MB / 1.014 GB (rm -f Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches