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.004396/0.004396, allocations: 99.97 kB / 15.73 MB, free: 6.004 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.001263/0.001263, allocations: 193.1 kB / 16.67 MB, free: 5.93 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 4.148 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.355/2.355, allocations: 437.1 MB / 0.7105 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 71.88 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2461, allocations: 151.6 MB / 1.166 GB, free: 7.262 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.5689/0.8151, allocations: 135.5 MB / 1.299 GB, free: 13.77 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006908/0.822, allocations: 7.915 MB / 1.306 GB, free: 13.04 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.8221, allocations: 0 / 1.306 GB, free: 13.04 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.8222, allocations: 29.91 kB / 1.306 GB, free: 13.03 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.38e-05/0.8223, allocations: 15.56 kB / 1.306 GB, free: 13.02 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003609/0.8259, allocations: 1.458 MB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.826, allocations: 80.36 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.031e-05/0.8261, allocations: 4.047 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.8262, allocations: 45.06 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.425e-05/0.8263, allocations: 33.39 kB / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.8263, allocations: 2.906 kB / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003774/0.8301, allocations: 2.702 MB / 1.311 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.8301, allocations: 22.23 kB / 1.311 GB, free: 12.76 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.8301, allocations: 30.3 kB / 1.311 GB, free: 12.75 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.8317, allocations: 1.38 MB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.8317, allocations: 0.9375 kB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.012e-06/0.8318, allocations: 0 / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.353e-06/0.8318, allocations: 0 / 1.312 GB, free: 12.71 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.0008396/0.8326, allocations: 0.4954 MB / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.8326, allocations: 9.375 kB / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.688e-05/0.8327, allocations: 37.75 kB / 1.312 GB, free: 12.26 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/0.833, allocations: 35.91 kB / 1.312 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.8331, allocations: 170.9 kB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.728e-05/0.8332, allocations: 33.45 kB / 1.313 GB, free: 12.01 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.8332, allocations: 11.53 kB / 1.313 GB, free: 12.01 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.8335, allocations: 116.5 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.8335, allocations: 0 / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.8335, allocations: 4.469 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.8336, allocations: 2.156 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/0.8338, allocations: 117.4 kB / 1.313 GB, free: 11.97 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.0004115/0.8342, allocations: 382 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.8345, allocations: 131.7 kB / 1.313 GB, free: 11.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.762e-05/0.8345, allocations: 52 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009973/0.8445, allocations: 4.23 MB / 1.318 GB, free: 9.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.8446, allocations: 31.66 kB / 1.318 GB, free: 9.73 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.8446, allocations: 0 / 1.318 GB, free: 9.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.0004027/0.845, allocations: 175 kB / 1.318 GB, free: 9.688 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.845, allocations: 53.38 kB / 1.318 GB, free: 9.625 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.145e-05/0.8451, allocations: 100.5 kB / 1.318 GB, free: 9.527 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.8451, allocations: 27.17 kB / 1.318 GB, free: 9.496 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.8452, allocations: 81.61 kB / 1.318 GB, free: 9.414 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.8452, allocations: 48.95 kB / 1.318 GB, free: 9.383 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.8453, allocations: 27.02 kB / 1.318 GB, free: 9.367 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.8454, allocations: 323.6 kB / 1.318 GB, free: 9.051 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-05/0.8455, allocations: 27.14 kB / 1.318 GB, free: 9.047 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.913e-05/0.8455, allocations: 31.86 kB / 1.318 GB, free: 9.043 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.064e-05/0.8456, allocations: 65.55 kB / 1.319 GB, free: 9.035 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.8456, allocations: 1.188 kB / 1.319 GB, free: 9.035 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001586/0.8458, allocations: 107 kB / 1.319 GB, free: 8.992 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.8458, allocations: 6.875 kB / 1.319 GB, free: 8.992 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.8458, allocations: 0 / 1.319 GB, free: 8.992 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.8458, allocations: 3.312 kB / 1.319 GB, free: 8.992 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.8459, allocations: 22.73 kB / 1.319 GB, free: 8.988 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.8459, allocations: 1.125 kB / 1.319 GB, free: 8.988 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.846, allocations: 20.22 kB / 1.319 GB, free: 8.973 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.846, allocations: 5.75 kB / 1.319 GB, free: 8.973 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.805e-05/0.8461, allocations: 115.6 kB / 1.319 GB, free: 8.852 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.8461, allocations: 12.11 kB / 1.319 GB, free: 8.844 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004056/0.8465, allocations: 361 kB / 1.319 GB, free: 8.664 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.8466, allocations: 9.094 kB / 1.319 GB, free: 8.66 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.8466, allocations: 1.375 kB / 1.319 GB, free: 8.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.81e-06/0.8466, allocations: 3.938 kB / 1.319 GB, free: 8.656 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.8469, allocations: 290.5 kB / 1.319 GB, free: 8.398 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.8469, allocations: 1.562 kB / 1.319 GB, free: 8.398 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.228e-05/0.847, allocations: 18.8 kB / 1.319 GB, free: 8.398 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.847, allocations: 0.9688 kB / 1.319 GB, free: 8.398 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.847, allocations: 15.48 kB / 1.319 GB, free: 8.387 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.847, allocations: 1.344 kB / 1.319 GB, free: 8.387 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.847, allocations: 0 / 1.319 GB, free: 8.387 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.8473, allocations: 330.4 kB / 1.32 GB, free: 8.168 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.8474, allocations: 107.1 kB / 1.32 GB, free: 8.059 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.8474, allocations: 1.406 kB / 1.32 GB, free: 8.059 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.8475, allocations: 10 kB / 1.32 GB, free: 8.055 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.8476, allocations: 8.734 kB / 1.32 GB, free: 8.055 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.8476, allocations: 7.781 kB / 1.32 GB, free: 8.051 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.062e-05/0.8476, allocations: 84.42 kB / 1.32 GB, free: 7.973 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8476, allocations: 0 / 1.32 GB, free: 7.973 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007146/0.8483, allocations: 303 kB / 1.32 GB, free: 7.941 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.001565/0.8499, allocations: 1.152 MB / 1.321 GB, free: 7.152 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001894/0.8501, allocations: 127.4 kB / 1.322 GB, free: 7.109 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8501, allocations: 0 / 1.322 GB, free: 7.109 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.8502, allocations: 115.5 kB / 1.322 GB, free: 7.059 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.8505, allocations: 22.48 kB / 1.322 GB, free: 7.047 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007645/0.8513, allocations: 440.3 kB / 1.322 GB, free: 6.766 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.8516, allocations: 0.7137 MB / 1.323 GB, free: 6.07 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.71e-05/0.8517, allocations: 33.14 kB / 1.323 GB, free: 6.062 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.714e-05/0.8518, allocations: 38.72 kB / 1.323 GB, free: 6.035 MB / 1.014 GB Notification: Performance of SimCode: time 1.91e-07/0.8518, allocations: 0 / 1.323 GB, free: 6.035 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.519/6.371, allocations: 11.61 MB / 1.334 GB, free: 2.805 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/17.5, allocations: 10.97 kB / 1.334 GB, free: 2.801 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/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