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: 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_10_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_10_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.001445/0.001445, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.678/2.678, allocations: 437 MB / 0.7103 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 63.91 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7196/0.7212, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1481/0.8693, allocations: 135.5 MB / 1.15 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008492/0.8779, allocations: 7.927 MB / 1.157 GB, free: 2.438 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.219e-05/0.878, allocations: 0 / 1.157 GB, free: 2.438 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.8782, allocations: 19.89 kB / 1.157 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.046e-05/0.8783, allocations: 23.78 kB / 1.157 GB, free: 2.395 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003456/0.8818, allocations: 1.467 MB / 1.159 GB, free: 0.9297 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.8819, allocations: 79.58 kB / 1.159 GB, free: 0.8516 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.882, allocations: 4 kB / 1.159 GB, free: 0.8477 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.8821, allocations: 39.84 kB / 1.159 GB, free: 0.8086 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.451e-05/0.8822, allocations: 35.84 kB / 1.159 GB, free: 0.7734 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.8822, allocations: 4 kB / 1.159 GB, free: 0.7695 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004007/0.8862, allocations: 2.641 MB / 1.162 GB, free: 14.12 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.8863, allocations: 15.97 kB / 1.162 GB, free: 14.11 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.16e-05/0.8863, allocations: 31.8 kB / 1.162 GB, free: 14.08 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002096/0.8884, allocations: 1.384 MB / 1.163 GB, free: 12.69 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.8885, allocations: 0 / 1.163 GB, free: 12.69 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8885, allocations: 4 kB / 1.163 GB, free: 12.69 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.8885, allocations: 0 / 1.163 GB, free: 12.69 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.001107/0.8896, allocations: 499.1 kB / 1.163 GB, free: 12.15 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.8896, allocations: 8.031 kB / 1.163 GB, free: 12.14 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000365/0.89, allocations: 28.81 kB / 1.163 GB, free: 12.12 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.8902, allocations: 168.3 kB / 1.164 GB, free: 11.91 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-05/0.8902, allocations: 34.27 kB / 1.164 GB, free: 11.88 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.8903, allocations: 11.94 kB / 1.164 GB, free: 11.86 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.8906, allocations: 123.6 kB / 1.164 GB, free: 11.74 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.8907, allocations: 0 / 1.164 GB, free: 11.74 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.8907, allocations: 4 kB / 1.164 GB, free: 11.73 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.8907, allocations: 0 / 1.164 GB, free: 11.73 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.891, allocations: 111.9 kB / 1.164 GB, free: 11.62 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.0005799/0.8916, allocations: 388 kB / 1.164 GB, free: 11.18 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.8918, allocations: 130.5 kB / 1.164 GB, free: 11.05 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.485e-05/0.8919, allocations: 52.83 kB / 1.164 GB, free: 10.99 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01129/0.9032, allocations: 4.207 MB / 1.169 GB, free: 6.469 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.9033, allocations: 34.55 kB / 1.169 GB, free: 6.426 MB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 2.264e-06/0.9033, allocations: 0 / 1.169 GB, free: 6.426 MB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0005851/0.9039, allocations: 167.3 kB / 1.169 GB, free: 6.258 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.9039, allocations: 55.34 kB / 1.169 GB, free: 6.191 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.748e-05/0.904, allocations: 101.9 kB / 1.169 GB, free: 6.082 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.904, allocations: 25.7 kB / 1.169 GB, free: 6.051 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.9041, allocations: 84.12 kB / 1.169 GB, free: 5.965 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.9041, allocations: 51.44 kB / 1.169 GB, free: 5.914 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/0.9042, allocations: 29.72 kB / 1.169 GB, free: 5.879 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.9043, allocations: 322.7 kB / 1.169 GB, free: 5.555 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.682e-05/0.9044, allocations: 23.98 kB / 1.169 GB, free: 5.531 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.658e-05/0.9045, allocations: 27.98 kB / 1.169 GB, free: 5.504 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.9046, allocations: 61.86 kB / 1.169 GB, free: 5.441 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.9046, allocations: 0 / 1.169 GB, free: 5.441 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001799/0.9048, allocations: 112.6 kB / 1.17 GB, free: 5.328 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.9048, allocations: 8 kB / 1.17 GB, free: 5.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.9048, allocations: 7.984 kB / 1.17 GB, free: 5.312 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.9048, allocations: 0 / 1.17 GB, free: 5.312 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.905, allocations: 20 kB / 1.17 GB, free: 5.293 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.905, allocations: 7.984 kB / 1.17 GB, free: 5.285 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.948e-05/0.905, allocations: 7.844 kB / 1.17 GB, free: 5.277 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.9051, allocations: 4 kB / 1.17 GB, free: 5.273 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 8.541e-05/0.9052, allocations: 113.8 kB / 1.17 GB, free: 5.152 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.9052, allocations: 4 kB / 1.17 GB, free: 5.148 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004328/0.9057, allocations: 375.6 kB / 1.17 GB, free: 4.781 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.9057, allocations: 7.984 kB / 1.17 GB, free: 4.773 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.9057, allocations: 0 / 1.17 GB, free: 4.773 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.9057, allocations: 3.938 kB / 1.17 GB, free: 4.77 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.906, allocations: 281.4 kB / 1.17 GB, free: 4.445 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.906, allocations: 0 / 1.17 GB, free: 4.445 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.116e-05/0.9061, allocations: 23.98 kB / 1.17 GB, free: 4.422 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.9061, allocations: 4 kB / 1.17 GB, free: 4.418 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.9061, allocations: 0 / 1.17 GB, free: 4.418 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.9061, allocations: 0 / 1.17 GB, free: 4.418 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.9061, allocations: 3.938 kB / 1.17 GB, free: 4.414 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.9064, allocations: 338.8 kB / 1.171 GB, free: 4.066 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.828e-05/0.9065, allocations: 104.8 kB / 1.171 GB, free: 3.945 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.9065, allocations: 0 / 1.171 GB, free: 3.945 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.9067, allocations: 15.98 kB / 1.171 GB, free: 3.93 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.9067, allocations: 7.984 kB / 1.171 GB, free: 3.922 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.9067, allocations: 11.94 kB / 1.171 GB, free: 3.91 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.755e-05/0.9068, allocations: 79.28 kB / 1.171 GB, free: 3.832 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9068, allocations: 0 / 1.171 GB, free: 3.832 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008563/0.9076, allocations: 299.9 kB / 1.171 GB, free: 3.539 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.001154/0.9088, allocations: 411 kB / 1.172 GB, free: 3.129 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002826/0.9091, allocations: 131.9 kB / 1.172 GB, free: 3 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.9091, allocations: 0 / 1.172 GB, free: 3 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.9092, allocations: 108 kB / 1.172 GB, free: 2.895 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.9095, allocations: 23.97 kB / 1.172 GB, free: 2.871 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005184/0.91, allocations: 312.5 kB / 1.172 GB, free: 2.535 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.9103, allocations: 0.7166 MB / 1.173 GB, free: 1.793 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000101/0.9104, allocations: 24.42 kB / 1.173 GB, free: 1.77 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.9105, allocations: 19.36 kB / 1.173 GB, free: 1.75 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.9105, allocations: 0 / 1.173 GB, free: 1.75 MB / 0.92 GB Notification: Performance of Templates: time 0.01353/0.924, allocations: 9.821 MB / 1.183 GB, free: 7.934 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile (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 & ./Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches