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.00674/0.00674, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001677/0.001677, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.382/1.382, 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.319/2.319, allocations: 390.2 MB / 0.6648 GB, free: 136 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 61.84 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2655, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1342/0.3998, allocations: 135.6 MB / 1.22 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008645/0.4085, allocations: 7.923 MB / 1.228 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.4085, allocations: 4 kB / 1.228 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.4087, allocations: 19.84 kB / 1.228 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.832e-05/0.4088, allocations: 19.84 kB / 1.228 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003719/0.4125, allocations: 1.464 MB / 1.229 GB, free: 396 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.4127, allocations: 75.59 kB / 1.229 GB, free: 320 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.688e-05/0.4127, allocations: 4 kB / 1.229 GB, free: 316 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.4129, allocations: 47.83 kB / 1.229 GB, free: 268 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.413, allocations: 39.83 kB / 1.229 GB, free: 228 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.413, allocations: 4 kB / 1.229 GB, free: 224 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004172/0.4172, allocations: 2.702 MB / 1.232 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.4172, allocations: 11.98 kB / 1.232 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.4173, allocations: 31.86 kB / 1.232 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002079/0.4194, allocations: 1.384 MB / 1.233 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4194, allocations: 0 / 1.233 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4194, allocations: 0 / 1.233 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.4194, allocations: 0 / 1.233 GB, free: 12.09 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.001168/0.4206, allocations: 0.5061 MB / 1.234 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.4206, allocations: 11.97 kB / 1.234 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.4207, allocations: 38.75 kB / 1.234 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004142/0.4211, allocations: 20.91 kB / 1.234 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.4212, allocations: 172.3 kB / 1.234 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.712e-05/0.4213, allocations: 34.02 kB / 1.234 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.4214, allocations: 11.94 kB / 1.234 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.4217, allocations: 117.6 kB / 1.234 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4218, allocations: 7.984 kB / 1.234 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.4218, allocations: 4 kB / 1.234 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.4218, allocations: 0 / 1.234 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.4221, allocations: 111.9 kB / 1.234 GB, free: 10.95 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.0004599/0.4226, allocations: 384.1 kB / 1.235 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.4228, allocations: 130.5 kB / 1.235 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.449e-05/0.4229, allocations: 48.84 kB / 1.235 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/0.4344, allocations: 4.23 MB / 1.239 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.4344, allocations: 34.56 kB / 1.239 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 3.346e-06/0.4344, allocations: 0 / 1.239 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0005023/0.4349, allocations: 173.4 kB / 1.239 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.435, allocations: 55.41 kB / 1.239 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.528e-05/0.435, allocations: 101.8 kB / 1.239 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.4351, allocations: 25.7 kB / 1.239 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.4351, allocations: 92.12 kB / 1.239 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.4352, allocations: 43.59 kB / 1.239 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.4352, allocations: 29.7 kB / 1.239 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.952e-05/0.4353, allocations: 318.8 kB / 1.24 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.921e-05/0.4354, allocations: 23.98 kB / 1.24 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-05/0.4354, allocations: 23.98 kB / 1.24 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.4355, allocations: 72.73 kB / 1.24 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4355, allocations: 4 kB / 1.24 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001811/0.4357, allocations: 109.6 kB / 1.24 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4357, allocations: 8 kB / 1.24 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.4358, allocations: 0 / 1.24 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.4358, allocations: 0 / 1.24 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.4359, allocations: 23.98 kB / 1.24 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4359, allocations: 0 / 1.24 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.436, allocations: 3.938 kB / 1.24 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.436, allocations: 11.98 kB / 1.24 GB, free: 4.582 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 7.723e-05/0.4361, allocations: 113.8 kB / 1.24 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.4361, allocations: 7.953 kB / 1.24 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004207/0.4366, allocations: 376.2 kB / 1.241 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.4366, allocations: 8 kB / 1.241 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4366, allocations: 0 / 1.241 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4366, allocations: 7.922 kB / 1.241 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.4369, allocations: 285.1 kB / 1.241 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4369, allocations: 4 kB / 1.241 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.437, allocations: 23.98 kB / 1.241 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.437, allocations: 0 / 1.241 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.437, allocations: 4 kB / 1.241 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.437, allocations: 7.938 kB / 1.241 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.437, allocations: 4 kB / 1.241 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.4374, allocations: 323.3 kB / 1.241 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-05/0.4374, allocations: 104.9 kB / 1.241 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.4375, allocations: 4 kB / 1.241 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.4376, allocations: 11.92 kB / 1.241 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.4376, allocations: 12.12 kB / 1.241 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.4377, allocations: 3.984 kB / 1.241 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.338e-05/0.4377, allocations: 91.27 kB / 1.241 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4377, allocations: 0 / 1.241 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007871/0.4385, allocations: 303.6 kB / 1.242 GB, free: 2.824 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.001852/0.4404, allocations: 1.153 MB / 1.243 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.4406, allocations: 123.9 kB / 1.243 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4406, allocations: 4 kB / 1.243 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.4408, allocations: 118.2 kB / 1.243 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.4411, allocations: 21.64 kB / 1.243 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009972/0.4421, allocations: 433.5 kB / 1.243 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.4424, allocations: 0.7166 MB / 1.244 GB, free: 180 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001062/0.4425, allocations: 28.34 kB / 1.244 GB, free: 152 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.299e-05/0.4426, allocations: 39.42 kB / 1.244 GB, free: 112 kB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.4426, allocations: 0 / 1.244 GB, free: 112 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03084/0.4734, allocations: 11.61 MB / 1.256 GB, free: 4.582 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/8.209, allocations: 4.062 kB / 1.256 GB, free: 4.578 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 & 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