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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001122/0.001122, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.001265/0.001265, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.3 MB / 240 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.475/2.475, allocations: 390.9 MB / 0.666 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003846, allocations: 19.98 kB / 0.8153 GB, free: 13.58 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8233/0.8237, allocations: 142.4 MB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1572/0.981, allocations: 122.7 MB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008868/0.9899, allocations: 7.482 MB / 1.082 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.971e-05/0.99, allocations: 0 / 1.082 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.9902, allocations: 19.89 kB / 1.082 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.199e-05/0.9903, allocations: 15.84 kB / 1.082 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003229/0.9935, allocations: 1.127 MB / 1.083 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.9936, allocations: 67.64 kB / 1.083 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.795e-05/0.9937, allocations: 7.984 kB / 1.083 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.9938, allocations: 39.84 kB / 1.083 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.886e-05/0.9939, allocations: 35.84 kB / 1.083 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.9939, allocations: 8 kB / 1.083 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003893/0.9978, allocations: 2.517 MB / 1.085 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.9979, allocations: 19.91 kB / 1.085 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.9979, allocations: 33.7 kB / 1.085 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.9991, allocations: 0.9064 MB / 1.086 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.9991, allocations: 0 / 1.086 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.436e-06/0.9991, allocations: 0 / 1.086 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.9991, allocations: 3.938 kB / 1.086 GB, free: 8.113 MB / 0.8419 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.0009508/1, allocations: 483 kB / 1.087 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/1, allocations: 12.03 kB / 1.087 GB, free: 7.582 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003542/1, allocations: 23.97 kB / 1.087 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/1.001, allocations: 170.9 kB / 1.087 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.044e-05/1.001, allocations: 33.64 kB / 1.087 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/1.001, allocations: 8 kB / 1.087 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/1.001, allocations: 123.9 kB / 1.087 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/1.001, allocations: 0 / 1.087 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/1.001, allocations: 0 / 1.087 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/1.001, allocations: 3.938 kB / 1.087 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/1.001, allocations: 123.9 kB / 1.087 GB, free: 7.055 MB / 0.8419 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.0005614/1.002, allocations: 380 kB / 1.088 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/1.002, allocations: 126.5 kB / 1.088 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.691e-05/1.002, allocations: 48.84 kB / 1.088 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0098/1.012, allocations: 4.257 MB / 1.092 GB, free: 1.863 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/1.012, allocations: 38.56 kB / 1.092 GB, free: 1.816 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/1.012, allocations: 0 / 1.092 GB, free: 1.816 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0005045/1.013, allocations: 157.6 kB / 1.092 GB, free: 1.656 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/1.013, allocations: 55.41 kB / 1.092 GB, free: 1.59 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.57e-05/1.013, allocations: 101.8 kB / 1.092 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/1.013, allocations: 25.7 kB / 1.092 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/1.013, allocations: 80.14 kB / 1.092 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.58e-05/1.013, allocations: 51.44 kB / 1.092 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/1.013, allocations: 0 / 1.092 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001015/1.013, allocations: 318.8 kB / 1.093 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/1.013, allocations: 27.92 kB / 1.093 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.516e-05/1.013, allocations: 28.61 kB / 1.093 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.616e-05/1.013, allocations: 24.62 kB / 1.093 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.013, allocations: 7.953 kB / 1.093 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001701/1.013, allocations: 106.5 kB / 1.093 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.013, allocations: 4 kB / 1.093 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.014, allocations: 3.938 kB / 1.093 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/1.014, allocations: 3.984 kB / 1.093 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/1.014, allocations: 28 kB / 1.093 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/1.014, allocations: 7.938 kB / 1.093 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/1.014, allocations: 3.984 kB / 1.093 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/1.014, allocations: 4 kB / 1.093 GB, free: 0.7461 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.317e-05/1.014, allocations: 113.8 kB / 1.093 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/1.014, allocations: 11.86 kB / 1.093 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004534/1.014, allocations: 372 kB / 1.093 GB, free: 244 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/1.014, allocations: 192 / 1.093 GB, free: 244 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/1.014, allocations: 3.984 kB / 1.093 GB, free: 240 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/1.014, allocations: 11.92 kB / 1.093 GB, free: 228 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/1.015, allocations: 285.3 kB / 1.094 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/1.015, allocations: 3.953 kB / 1.094 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.403e-05/1.015, allocations: 19.98 kB / 1.094 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/1.015, allocations: 0 / 1.094 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/1.015, allocations: 8 kB / 1.094 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/1.015, allocations: 0 / 1.094 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.015, allocations: 0 / 1.094 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/1.015, allocations: 330.9 kB / 1.094 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.236e-05/1.015, allocations: 108.8 kB / 1.094 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/1.015, allocations: 0 / 1.094 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/1.015, allocations: 11.98 kB / 1.094 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/1.015, allocations: 11.98 kB / 1.094 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/1.015, allocations: 4 kB / 1.094 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.878e-05/1.016, allocations: 83.28 kB / 1.094 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/1.016, allocations: 0 / 1.094 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008873/1.016, allocations: 299.9 kB / 1.095 GB, free: 15 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001384/1.018, allocations: 406.3 kB / 1.095 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000247/1.018, allocations: 127.9 kB / 1.095 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.018, allocations: 0 / 1.095 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/1.018, allocations: 107.9 kB / 1.095 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/1.019, allocations: 25.19 kB / 1.095 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00058/1.019, allocations: 387.5 kB / 1.096 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/1.019, allocations: 0.713 MB / 1.096 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001104/1.02, allocations: 32.34 kB / 1.096 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/1.02, allocations: 15.42 kB / 1.096 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/1.02, allocations: 0 / 1.096 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of Templates: time 0.01462/1.034, allocations: 9.988 MB / 1.106 GB, free: 3.16 MB / 0.8575 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches