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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001129/0.001129, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009222/0.009222, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.376/2.376, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.0003272, allocations: 15.98 kB / 0.8729 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5708/0.5712, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1299/0.7011, allocations: 131.7 MB / 1.152 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008983/0.7101, allocations: 8.405 MB / 1.16 GB, free: 3.152 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.7102, allocations: 0 / 1.16 GB, free: 3.152 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.7104, allocations: 15.91 kB / 1.16 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.299e-05/0.7104, allocations: 19.84 kB / 1.16 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002532/0.7129, allocations: 1.151 MB / 1.161 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.149e-05/0.713, allocations: 71.59 kB / 1.161 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.454e-05/0.7131, allocations: 4 kB / 1.161 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.7132, allocations: 43.84 kB / 1.161 GB, free: 1.852 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.204e-05/0.7133, allocations: 43.83 kB / 1.161 GB, free: 1.809 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.7133, allocations: 0 / 1.161 GB, free: 1.809 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003569/0.7169, allocations: 2.653 MB / 1.164 GB, free: 15.15 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.7169, allocations: 15.97 kB / 1.164 GB, free: 15.14 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.845e-05/0.717, allocations: 53.56 kB / 1.164 GB, free: 15.08 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.7184, allocations: 1.368 MB / 1.165 GB, free: 13.71 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.7184, allocations: 0 / 1.165 GB, free: 13.71 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.123e-06/0.7184, allocations: 0 / 1.165 GB, free: 13.71 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.7184, allocations: 0 / 1.165 GB, free: 13.71 MB / 0.92 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.0008104/0.7192, allocations: 495.2 kB / 1.166 GB, free: 13.18 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.7193, allocations: 8.031 kB / 1.166 GB, free: 13.17 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.103e-05/0.7193, allocations: 42.73 kB / 1.166 GB, free: 13.12 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000319/0.7197, allocations: 28.77 kB / 1.166 GB, free: 13.09 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.7198, allocations: 172.3 kB / 1.166 GB, free: 12.88 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.259e-05/0.7198, allocations: 38 kB / 1.166 GB, free: 12.84 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.7199, allocations: 8 kB / 1.166 GB, free: 12.83 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003209/0.7202, allocations: 117.6 kB / 1.166 GB, free: 12.71 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.7202, allocations: 0 / 1.166 GB, free: 12.71 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.7202, allocations: 8 kB / 1.166 GB, free: 12.7 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.7202, allocations: 0 / 1.166 GB, free: 12.7 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.7205, allocations: 119.8 kB / 1.166 GB, free: 12.59 MB / 0.92 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.0004238/0.7209, allocations: 376 kB / 1.167 GB, free: 12.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.7212, allocations: 122.6 kB / 1.167 GB, free: 12.03 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.947e-05/0.7213, allocations: 56.83 kB / 1.167 GB, free: 11.97 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01059/0.7319, allocations: 4.253 MB / 1.171 GB, free: 7.398 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.7319, allocations: 34.5 kB / 1.171 GB, free: 7.355 MB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.7319, allocations: 0 / 1.171 GB, free: 7.355 MB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0004202/0.7323, allocations: 162.7 kB / 1.171 GB, free: 7.191 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.7324, allocations: 51.41 kB / 1.171 GB, free: 7.129 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.339e-05/0.7325, allocations: 109.8 kB / 1.171 GB, free: 7.012 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.7325, allocations: 25.7 kB / 1.171 GB, free: 6.98 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.7325, allocations: 80.14 kB / 1.171 GB, free: 6.898 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.7326, allocations: 55.52 kB / 1.171 GB, free: 6.844 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.7326, allocations: 13.72 kB / 1.171 GB, free: 6.824 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.932e-05/0.7327, allocations: 322.8 kB / 1.172 GB, free: 6.5 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.307e-05/0.7328, allocations: 27.92 kB / 1.172 GB, free: 6.473 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.075e-05/0.7328, allocations: 35.92 kB / 1.172 GB, free: 6.438 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.605e-05/0.7329, allocations: 62.61 kB / 1.172 GB, free: 6.375 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7329, allocations: 0 / 1.172 GB, free: 6.375 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001606/0.7331, allocations: 109.5 kB / 1.172 GB, free: 6.266 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.7331, allocations: 6.344 kB / 1.172 GB, free: 6.262 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.7331, allocations: 11.98 kB / 1.172 GB, free: 6.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.7331, allocations: 0 / 1.172 GB, free: 6.25 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.7333, allocations: 23.94 kB / 1.172 GB, free: 6.227 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.7333, allocations: 3.984 kB / 1.172 GB, free: 6.223 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.564e-05/0.7333, allocations: 11.84 kB / 1.172 GB, free: 6.211 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.7334, allocations: 0 / 1.172 GB, free: 6.211 MB / 0.92 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 6.94e-05/0.7334, allocations: 114.4 kB / 1.172 GB, free: 6.09 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.7335, allocations: 4 kB / 1.172 GB, free: 6.086 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004174/0.7339, allocations: 383.9 kB / 1.172 GB, free: 5.707 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.7339, allocations: 7.984 kB / 1.173 GB, free: 5.699 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.7339, allocations: 0 / 1.173 GB, free: 5.699 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.7339, allocations: 3.938 kB / 1.173 GB, free: 5.695 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.7342, allocations: 281.4 kB / 1.173 GB, free: 5.371 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.7342, allocations: 0 / 1.173 GB, free: 5.371 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.132e-05/0.7343, allocations: 23.98 kB / 1.173 GB, free: 5.348 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7343, allocations: 0 / 1.173 GB, free: 5.348 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.7343, allocations: 4 kB / 1.173 GB, free: 5.344 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7343, allocations: 0 / 1.173 GB, free: 5.344 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.7343, allocations: 0 / 1.173 GB, free: 5.344 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.7346, allocations: 343 kB / 1.173 GB, free: 4.992 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.044e-05/0.7347, allocations: 108.8 kB / 1.173 GB, free: 4.867 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.7347, allocations: 0 / 1.173 GB, free: 4.867 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.7349, allocations: 15.98 kB / 1.173 GB, free: 4.852 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.7349, allocations: 15.92 kB / 1.173 GB, free: 4.836 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.7349, allocations: 4 kB / 1.173 GB, free: 4.832 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.997e-05/0.735, allocations: 83.28 kB / 1.173 GB, free: 4.75 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.735, allocations: 0 / 1.173 GB, free: 4.75 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006449/0.7356, allocations: 303.9 kB / 1.174 GB, free: 4.453 MB / 0.92 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.001541/0.7372, allocations: 1.138 MB / 1.175 GB, free: 3.289 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001898/0.7374, allocations: 131.9 kB / 1.175 GB, free: 3.16 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7374, allocations: 0 / 1.175 GB, free: 3.16 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.7375, allocations: 114.3 kB / 1.175 GB, free: 3.051 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.7378, allocations: 15.94 kB / 1.175 GB, free: 3.035 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008163/0.7386, allocations: 0.4935 MB / 1.175 GB, free: 2.496 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.7389, allocations: 0.7207 MB / 1.176 GB, free: 1.75 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 9.274e-05/0.739, allocations: 28.34 kB / 1.176 GB, free: 1.723 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.479e-05/0.739, allocations: 39.42 kB / 1.176 GB, free: 1.684 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.739, allocations: 0 / 1.176 GB, free: 1.684 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8368/1.576, allocations: 11.37 MB / 1.187 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003056/1.576, allocations: 208.5 kB / 1.188 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/3.543, allocations: 0 / 1.188 GB, free: 6.184 MB / 0.9356 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=50 --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