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.001328/0.001328, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001292/0.001292, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.378/1.378, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.493/2.493, allocations: 437 MB / 0.711 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 66.84 kB / 0.8699 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2946, allocations: 151.6 MB / 1.018 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.689/0.9836, allocations: 135.5 MB / 1.15 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009733/0.9934, allocations: 7.918 MB / 1.158 GB, free: 9.824 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.9935, allocations: 5.625 kB / 1.158 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.9937, allocations: 28.66 kB / 1.158 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 6.737e-05/0.9938, allocations: 16.14 kB / 1.158 GB, free: 9.793 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004423/0.9982, allocations: 1.469 MB / 1.16 GB, free: 9.262 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.9984, allocations: 76.19 kB / 1.16 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.9984, allocations: 3.344 kB / 1.16 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.9986, allocations: 43.92 kB / 1.16 GB, free: 9.215 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 8.782e-05/0.9987, allocations: 35.67 kB / 1.16 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.9987, allocations: 6.531 kB / 1.16 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005255/1.004, allocations: 2.637 MB / 1.162 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 3.566e-05/1.004, allocations: 20.53 kB / 1.162 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/1.004, allocations: 26.62 kB / 1.162 GB, free: 8.516 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002852/1.007, allocations: 1.381 MB / 1.164 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/1.007, allocations: 3.938 kB / 1.164 GB, free: 7.809 MB / 0.8731 GB Notification: Performance of FrontEnd: time 8.71e-07/1.007, allocations: 0 / 1.164 GB, free: 7.809 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.51e-06/1.007, allocations: 1.094 kB / 1.164 GB, free: 7.809 MB / 0.8731 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.00139/1.008, allocations: 0.4924 MB / 1.164 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/1.008, allocations: 9.203 kB / 1.164 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004209/1.009, allocations: 26.95 kB / 1.164 GB, free: 7.352 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/1.009, allocations: 170.5 kB / 1.164 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.288e-05/1.009, allocations: 29.8 kB / 1.164 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/1.009, allocations: 16.06 kB / 1.164 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/1.009, allocations: 124.1 kB / 1.164 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/1.01, allocations: 0 / 1.164 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/1.01, allocations: 5.156 kB / 1.164 GB, free: 7.016 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/1.01, allocations: 10.3 kB / 1.165 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/1.01, allocations: 112.6 kB / 1.165 GB, free: 6.957 MB / 0.8731 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.0005408/1.01, allocations: 381.2 kB / 1.165 GB, free: 6.559 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/1.011, allocations: 123.7 kB / 1.165 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.937e-05/1.011, allocations: 49.34 kB / 1.165 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01286/1.024, allocations: 4.205 MB / 1.169 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/1.024, allocations: 33 kB / 1.169 GB, free: 3.703 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 2.184e-06/1.024, allocations: 0 / 1.169 GB, free: 3.703 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0005677/1.024, allocations: 164.2 kB / 1.169 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/1.024, allocations: 52.81 kB / 1.169 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/1.024, allocations: 103 kB / 1.17 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/1.024, allocations: 27.08 kB / 1.17 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/1.025, allocations: 80.14 kB / 1.17 GB, free: 3.328 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.446e-05/1.025, allocations: 53.2 kB / 1.17 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.58e-05/1.025, allocations: 33.7 kB / 1.17 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.025, allocations: 324 kB / 1.17 GB, free: 2.926 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/1.025, allocations: 21.91 kB / 1.17 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.64e-05/1.025, allocations: 30.33 kB / 1.17 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/1.025, allocations: 71.22 kB / 1.17 GB, free: 2.863 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.025, allocations: 0 / 1.17 GB, free: 2.863 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002233/1.025, allocations: 104.4 kB / 1.17 GB, free: 2.801 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.025, allocations: 4.844 kB / 1.17 GB, free: 2.801 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/1.025, allocations: 1.25 kB / 1.17 GB, free: 2.801 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.025, allocations: 3.938 kB / 1.17 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/1.026, allocations: 29.39 kB / 1.17 GB, free: 2.785 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/1.026, allocations: 1.125 kB / 1.17 GB, free: 2.785 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/1.026, allocations: 5.062 kB / 1.17 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/1.026, allocations: 11.36 kB / 1.17 GB, free: 2.773 MB / 0.8731 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.347e-05/1.026, allocations: 116.1 kB / 1.17 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/1.026, allocations: 3.375 kB / 1.17 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/1.026, allocations: 376.3 kB / 1.171 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/1.026, allocations: 7.312 kB / 1.171 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.026, allocations: 0 / 1.171 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/1.026, allocations: 3.984 kB / 1.171 GB, free: 2.414 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/1.027, allocations: 286.3 kB / 1.171 GB, free: 2.137 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.027, allocations: 0 / 1.171 GB, free: 2.137 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/1.027, allocations: 21.52 kB / 1.171 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/1.027, allocations: 1.062 kB / 1.171 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/1.027, allocations: 1.125 kB / 1.171 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/1.027, allocations: 4.5 kB / 1.171 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.027, allocations: 0 / 1.171 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/1.027, allocations: 343 kB / 1.171 GB, free: 1.883 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.88e-05/1.027, allocations: 107.1 kB / 1.172 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/1.027, allocations: 1.156 kB / 1.172 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/1.028, allocations: 7.594 kB / 1.172 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/1.028, allocations: 8.422 kB / 1.172 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/1.028, allocations: 7.609 kB / 1.172 GB, free: 1.754 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.11e-05/1.028, allocations: 87.05 kB / 1.172 GB, free: 1.672 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.028, allocations: 0 / 1.172 GB, free: 1.672 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001307/1.029, allocations: 306.2 kB / 1.172 GB, free: 1.633 MB / 0.8731 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.001892/1.031, allocations: 393.4 kB / 1.172 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002528/1.031, allocations: 134.9 kB / 1.172 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.031, allocations: 0 / 1.172 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/1.031, allocations: 117.5 kB / 1.173 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/1.032, allocations: 14.88 kB / 1.173 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005312/1.032, allocations: 347.4 kB / 1.173 GB, free: 1.062 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/1.032, allocations: 0.7168 MB / 1.174 GB, free: 360 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/1.033, allocations: 19.67 kB / 1.174 GB, free: 352 kB / 0.8731 GB Notification: Performance of SimCode: time 3.4e-07/1.033, allocations: 0 / 1.174 GB, free: 352 kB / 0.8731 GB Notification: Performance of Templates: time 0.01361/1.046, allocations: 6.751 MB / 1.18 GB, free: 12.85 MB / 0.8887 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches