Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck") translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 110.4 kB / 15.99 MB, free: 6.344 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.001511/0.001511, allocations: 195.4 kB / 16.91 MB, free: 6.176 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.397/1.397, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.73/2.73, allocations: 469.8 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001943, allocations: 64.31 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3131, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.6387/0.9519, allocations: 133.6 MB / 1.195 GB, free: 11.51 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01094/0.9629, allocations: 7.964 MB / 1.202 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.221e-05/0.963, allocations: 0 / 1.202 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.9632, allocations: 20.83 kB / 1.202 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.336e-05/0.9634, allocations: 18.56 kB / 1.202 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004757/0.9681, allocations: 1.288 MB / 1.204 GB, free: 4.266 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.9683, allocations: 75.48 kB / 1.204 GB, free: 4.227 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.9684, allocations: 16.42 kB / 1.204 GB, free: 4.215 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.9686, allocations: 37.45 kB / 1.204 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.9687, allocations: 35.45 kB / 1.204 GB, free: 4.176 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.9687, allocations: 3.469 kB / 1.204 GB, free: 4.176 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005759/0.9745, allocations: 2.65 MB / 1.206 GB, free: 2.809 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.064e-05/0.9745, allocations: 12.17 kB / 1.206 GB, free: 2.801 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.378e-05/0.9746, allocations: 36.69 kB / 1.206 GB, free: 2.777 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.9765, allocations: 0.9159 MB / 1.207 GB, free: 2.258 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.9765, allocations: 0 / 1.207 GB, free: 2.258 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.714e-06/0.9765, allocations: 5.188 kB / 1.207 GB, free: 2.254 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.9765, allocations: 0 / 1.207 GB, free: 2.254 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.001717/0.9783, allocations: 0.4919 MB / 1.208 GB, free: 1.809 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.9783, allocations: 8.625 kB / 1.208 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004407/0.9788, allocations: 27.41 kB / 1.208 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.9789, allocations: 169.8 kB / 1.208 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.601e-05/0.979, allocations: 29.89 kB / 1.208 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.979, allocations: 12.19 kB / 1.208 GB, free: 1.555 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004173/0.9795, allocations: 120.8 kB / 1.208 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.9795, allocations: 0 / 1.208 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.9795, allocations: 5.125 kB / 1.208 GB, free: 1.469 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.9795, allocations: 6.25 kB / 1.208 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.9799, allocations: 113 kB / 1.208 GB, free: 1.414 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.0005654/0.9804, allocations: 384.9 kB / 1.209 GB, free: 1.012 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.9807, allocations: 130.9 kB / 1.209 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.479e-05/0.9808, allocations: 54.3 kB / 1.209 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01223/0.9931, allocations: 4.198 MB / 1.213 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.9931, allocations: 39.8 kB / 1.213 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.9931, allocations: 0 / 1.213 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0005775/0.9937, allocations: 165.1 kB / 1.213 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.9938, allocations: 52.69 kB / 1.213 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.149e-05/0.9939, allocations: 97.83 kB / 1.213 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.9939, allocations: 31.16 kB / 1.213 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.994, allocations: 81.23 kB / 1.213 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.994, allocations: 49.41 kB / 1.213 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.9941, allocations: 25.34 kB / 1.213 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.9942, allocations: 324.4 kB / 1.214 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.944e-05/0.9943, allocations: 28.92 kB / 1.214 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.093e-05/0.9944, allocations: 26.67 kB / 1.214 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.9945, allocations: 73.86 kB / 1.214 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9945, allocations: 0 / 1.214 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002114/0.9947, allocations: 102.4 kB / 1.214 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.9947, allocations: 8.766 kB / 1.214 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.9948, allocations: 6.859 kB / 1.214 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.9948, allocations: 0 / 1.214 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.9949, allocations: 28.67 kB / 1.214 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.9949, allocations: 1.219 kB / 1.214 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.62e-05/0.995, allocations: 6.188 kB / 1.214 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.995, allocations: 10.16 kB / 1.214 GB, free: 13.22 MB / 0.9356 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.0001003/0.9951, allocations: 117.1 kB / 1.214 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.808e-05/0.9952, allocations: 10.81 kB / 1.214 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004685/0.9957, allocations: 371.4 kB / 1.215 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.9957, allocations: 6.516 kB / 1.215 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.9957, allocations: 0 / 1.215 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.9957, allocations: 0 / 1.215 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.996, allocations: 285.5 kB / 1.215 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.996, allocations: 0 / 1.215 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.9961, allocations: 25.95 kB / 1.215 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.9961, allocations: 0 / 1.215 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.9962, allocations: 6.781 kB / 1.215 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.9962, allocations: 0 / 1.215 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.9962, allocations: 0 / 1.215 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.9966, allocations: 335.3 kB / 1.215 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.677e-05/0.9967, allocations: 103.4 kB / 1.215 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.9967, allocations: 1.094 kB / 1.215 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.9968, allocations: 12.42 kB / 1.215 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.9969, allocations: 16.39 kB / 1.215 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.9969, allocations: 4.344 kB / 1.215 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.138e-05/0.997, allocations: 85.62 kB / 1.215 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.997, allocations: 1.594 kB / 1.215 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001245/0.9982, allocations: 294.4 kB / 1.216 GB, free: 12.09 MB / 0.9356 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.00204/1, allocations: 407 kB / 1.216 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002894/1.001, allocations: 136.8 kB / 1.216 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.001, allocations: 0 / 1.216 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/1.001, allocations: 109.7 kB / 1.216 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/1.001, allocations: 25.58 kB / 1.216 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006097/1.002, allocations: 402.3 kB / 1.217 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/1.002, allocations: 0.7195 MB / 1.217 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/1.002, allocations: 19.12 kB / 1.217 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of SimCode: time 3.9e-07/1.002, allocations: 0 / 1.217 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of Templates: time 0.01215/1.014, allocations: 6.757 MB / 1.224 GB, free: 4.777 MB / 0.9356 GB make -j1 -f Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches