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: 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_9_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_9_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.001437/0.001437, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001512, allocations: 187 kB / 17.34 MB, free: 5.762 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.33/2.33, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 67.84 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8734/0.8751, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1714/1.047, allocations: 135.6 MB / 1.221 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009192/1.056, allocations: 7.922 MB / 1.229 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/1.056, allocations: 0 / 1.229 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002029/1.056, allocations: 25.83 kB / 1.229 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.409e-05/1.056, allocations: 19 kB / 1.229 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004303/1.06, allocations: 1.476 MB / 1.23 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001359/1.061, allocations: 66.94 kB / 1.23 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/1.061, allocations: 6.984 kB / 1.23 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/1.061, allocations: 46.66 kB / 1.23 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.233e-05/1.061, allocations: 38.98 kB / 1.23 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/1.061, allocations: 3.688 kB / 1.23 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00482/1.066, allocations: 2.706 MB / 1.233 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.106e-05/1.066, allocations: 15.55 kB / 1.233 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.051e-05/1.066, allocations: 32.66 kB / 1.233 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002379/1.068, allocations: 1.372 MB / 1.234 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.068, allocations: 8.812 kB / 1.234 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/1.068, allocations: 0 / 1.234 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.262e-06/1.068, allocations: 0 / 1.234 GB, free: 6.859 MB / 0.9669 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.001143/1.069, allocations: 0.4917 MB / 1.235 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/1.07, allocations: 9.812 kB / 1.235 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003777/1.07, allocations: 26.91 kB / 1.235 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/1.07, allocations: 165.5 kB / 1.235 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.837e-05/1.07, allocations: 38.39 kB / 1.235 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/1.07, allocations: 8.656 kB / 1.235 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/1.071, allocations: 119.7 kB / 1.235 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/1.071, allocations: 0 / 1.235 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/1.071, allocations: 1.094 kB / 1.235 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/1.071, allocations: 1.594 kB / 1.235 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/1.071, allocations: 121.1 kB / 1.235 GB, free: 6.02 MB / 0.9669 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.0004961/1.071, allocations: 385 kB / 1.236 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/1.072, allocations: 127 kB / 1.236 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.669e-05/1.072, allocations: 53.58 kB / 1.236 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01146/1.083, allocations: 4.229 MB / 1.24 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/1.083, allocations: 34.5 kB / 1.24 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/1.083, allocations: 0 / 1.24 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005544/1.084, allocations: 161.5 kB / 1.24 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/1.084, allocations: 55.41 kB / 1.24 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.923e-05/1.084, allocations: 105.8 kB / 1.24 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/1.084, allocations: 29.7 kB / 1.24 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/1.084, allocations: 84.14 kB / 1.24 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/1.084, allocations: 51.42 kB / 1.241 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/1.084, allocations: 29.7 kB / 1.241 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001116/1.084, allocations: 318.8 kB / 1.241 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.594e-05/1.084, allocations: 23.98 kB / 1.241 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.963e-05/1.084, allocations: 35.92 kB / 1.241 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/1.085, allocations: 68.34 kB / 1.241 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.085, allocations: 4 kB / 1.241 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001892/1.085, allocations: 109.6 kB / 1.241 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/1.085, allocations: 4 kB / 1.241 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.085, allocations: 0 / 1.241 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/1.085, allocations: 0 / 1.241 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/1.085, allocations: 23.92 kB / 1.241 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/1.085, allocations: 7.984 kB / 1.241 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.345e-05/1.085, allocations: 3.938 kB / 1.241 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/1.085, allocations: 8 kB / 1.241 GB, free: 1.059 MB / 0.9669 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.811e-05/1.085, allocations: 117.8 kB / 1.241 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/1.085, allocations: 7.906 kB / 1.241 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004285/1.086, allocations: 364.2 kB / 1.242 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/1.086, allocations: 11.98 kB / 1.242 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/1.086, allocations: 0 / 1.242 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/1.086, allocations: 3.938 kB / 1.242 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/1.086, allocations: 293 kB / 1.242 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.086, allocations: 0 / 1.242 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.507e-05/1.086, allocations: 20 kB / 1.242 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/1.086, allocations: 3.984 kB / 1.242 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/1.086, allocations: 8 kB / 1.242 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/1.086, allocations: 0 / 1.242 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/1.086, allocations: 0 / 1.242 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/1.086, allocations: 323.3 kB / 1.242 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.095e-05/1.087, allocations: 108.8 kB / 1.242 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/1.087, allocations: 0 / 1.242 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/1.087, allocations: 12 kB / 1.242 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/1.087, allocations: 11.98 kB / 1.242 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/1.087, allocations: 15.92 kB / 1.242 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.366e-05/1.087, allocations: 79.28 kB / 1.242 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/1.087, allocations: 0 / 1.242 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001297/1.088, allocations: 299.9 kB / 1.243 GB, free: 15.31 MB / 0.9825 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.001233/1.089, allocations: 387.2 kB / 1.243 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000226/1.09, allocations: 127.9 kB / 1.243 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.09, allocations: 0 / 1.243 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/1.09, allocations: 111.1 kB / 1.243 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/1.09, allocations: 23.98 kB / 1.243 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005409/1.091, allocations: 334.2 kB / 1.244 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/1.091, allocations: 0.7204 MB / 1.244 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/1.091, allocations: 19.44 kB / 1.244 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/1.091, allocations: 0 / 1.244 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of Templates: time 0.01031/1.101, allocations: 6.758 MB / 1.251 GB, free: 6.777 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile (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 & ./Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/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