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.007515/0.007514, allocations: 100.5 kB / 15.73 MB, free: 6.016 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.001835/0.001836, allocations: 192.8 kB / 16.67 MB, free: 5.934 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.141 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.546/2.546, allocations: 437 MB / 0.7105 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.293, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.7991/1.092, allocations: 135.5 MB / 1.299 GB, free: 13.77 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01094/1.103, allocations: 7.909 MB / 1.306 GB, free: 13.05 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/1.103, allocations: 0 / 1.306 GB, free: 13.05 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00023/1.104, allocations: 32.09 kB / 1.306 GB, free: 13.04 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.157e-05/1.104, allocations: 17.91 kB / 1.306 GB, free: 13.04 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0057/1.109, allocations: 1.467 MB / 1.308 GB, free: 12.86 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001698/1.11, allocations: 68.5 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.724e-05/1.11, allocations: 9.75 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/1.11, allocations: 53.48 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.84e-05/1.11, allocations: 32.58 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/1.11, allocations: 3.438 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005518/1.115, allocations: 2.698 MB / 1.311 GB, free: 12.78 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.416e-05/1.115, allocations: 17.03 kB / 1.311 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.673e-05/1.116, allocations: 34.31 kB / 1.311 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003043/1.119, allocations: 1.376 MB / 1.312 GB, free: 12.73 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/1.119, allocations: 1.125 kB / 1.312 GB, free: 12.73 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.156e-06/1.119, allocations: 0 / 1.312 GB, free: 12.73 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.811e-06/1.119, allocations: 3.938 kB / 1.312 GB, free: 12.73 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.001185/1.12, allocations: 0.4991 MB / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.12, allocations: 9.312 kB / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.994e-05/1.12, allocations: 37.61 kB / 1.312 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003842/1.12, allocations: 25.39 kB / 1.312 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/1.12, allocations: 171.8 kB / 1.313 GB, free: 12.06 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.009e-05/1.12, allocations: 33.75 kB / 1.313 GB, free: 12.03 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/1.121, allocations: 15.75 kB / 1.313 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/1.121, allocations: 123.2 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/1.121, allocations: 0 / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/1.121, allocations: 4.625 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/1.121, allocations: 2.797 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/1.121, allocations: 112.2 kB / 1.313 GB, free: 11.98 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.0004945/1.122, allocations: 384.2 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/1.122, allocations: 131.7 kB / 1.313 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.16e-05/1.122, allocations: 56.66 kB / 1.313 GB, free: 11.6 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01257/1.135, allocations: 4.224 MB / 1.318 GB, free: 9.777 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/1.135, allocations: 32.66 kB / 1.318 GB, free: 9.738 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 2.254e-06/1.135, allocations: 0 / 1.318 GB, free: 9.738 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.0006223/1.136, allocations: 159.9 kB / 1.318 GB, free: 9.703 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/1.136, allocations: 55.94 kB / 1.318 GB, free: 9.641 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.225e-05/1.136, allocations: 98.31 kB / 1.318 GB, free: 9.543 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/1.136, allocations: 29.27 kB / 1.318 GB, free: 9.512 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/1.136, allocations: 85.86 kB / 1.318 GB, free: 9.426 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.933e-05/1.136, allocations: 47.53 kB / 1.318 GB, free: 9.395 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/1.136, allocations: 33.28 kB / 1.318 GB, free: 9.375 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.136, allocations: 322 kB / 1.318 GB, free: 9.059 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.247e-05/1.136, allocations: 22.83 kB / 1.318 GB, free: 9.059 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.358e-05/1.136, allocations: 34.62 kB / 1.318 GB, free: 9.055 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/1.136, allocations: 66.31 kB / 1.319 GB, free: 9.031 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.136, allocations: 0 / 1.319 GB, free: 9.031 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001928/1.136, allocations: 105.3 kB / 1.319 GB, free: 8.973 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.136, allocations: 5.922 kB / 1.319 GB, free: 8.973 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.136, allocations: 0.875 kB / 1.319 GB, free: 8.973 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/1.136, allocations: 1.125 kB / 1.319 GB, free: 8.973 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/1.137, allocations: 25 kB / 1.319 GB, free: 8.969 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/1.137, allocations: 0.6562 kB / 1.319 GB, free: 8.969 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/1.137, allocations: 17.11 kB / 1.319 GB, free: 8.953 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/1.137, allocations: 4.859 kB / 1.319 GB, free: 8.953 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 8.443e-05/1.137, allocations: 113.9 kB / 1.319 GB, free: 8.836 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/1.137, allocations: 14.61 kB / 1.319 GB, free: 8.824 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004546/1.137, allocations: 369.5 kB / 1.319 GB, free: 8.641 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/1.137, allocations: 8.781 kB / 1.319 GB, free: 8.637 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.137, allocations: 2.484 kB / 1.319 GB, free: 8.637 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.137, allocations: 5.5 kB / 1.319 GB, free: 8.633 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/1.138, allocations: 285.4 kB / 1.319 GB, free: 8.379 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.138, allocations: 0 / 1.319 GB, free: 8.379 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/1.138, allocations: 22.73 kB / 1.319 GB, free: 8.379 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/1.138, allocations: 0 / 1.319 GB, free: 8.379 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/1.138, allocations: 6.25 kB / 1.319 GB, free: 8.375 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.138, allocations: 4 kB / 1.319 GB, free: 8.371 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/1.138, allocations: 1.062 kB / 1.319 GB, free: 8.371 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/1.138, allocations: 337.6 kB / 1.32 GB, free: 8.148 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-05/1.138, allocations: 103.5 kB / 1.32 GB, free: 8.039 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/1.138, allocations: 8.016 kB / 1.32 GB, free: 8.035 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/1.138, allocations: 2.812 kB / 1.32 GB, free: 8.035 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/1.138, allocations: 9.344 kB / 1.32 GB, free: 8.035 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/1.138, allocations: 14.61 kB / 1.32 GB, free: 8.027 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.158e-05/1.139, allocations: 81.88 kB / 1.32 GB, free: 7.949 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.139, allocations: 0 / 1.32 GB, free: 7.949 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001623/1.14, allocations: 302.7 kB / 1.32 GB, free: 7.918 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.001979/1.142, allocations: 1.147 MB / 1.321 GB, free: 7.133 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002315/1.142, allocations: 131.8 kB / 1.322 GB, free: 7.086 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.142, allocations: 5.375 kB / 1.322 GB, free: 7.082 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/1.143, allocations: 109.3 kB / 1.322 GB, free: 7.035 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/1.143, allocations: 26.09 kB / 1.322 GB, free: 7.023 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009072/1.144, allocations: 436.3 kB / 1.322 GB, free: 6.746 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/1.144, allocations: 0.7177 MB / 1.323 GB, free: 6.047 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001021/1.144, allocations: 23.23 kB / 1.323 GB, free: 6.047 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.388e-05/1.144, allocations: 38.3 kB / 1.323 GB, free: 6.02 MB / 1.014 GB Notification: Performance of SimCode: time 2.3e-07/1.144, allocations: 0 / 1.323 GB, free: 6.02 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03159/1.176, allocations: 11.62 MB / 1.334 GB, free: 2.828 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.652/8.828, allocations: 22.19 kB / 1.334 GB, free: 2.809 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