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.01099/0.01099, allocations: 102.3 kB / 15.73 MB, free: 5.516 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.001736/0.001736, allocations: 193.5 kB / 16.67 MB, free: 5.449 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 14.93 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.56/2.56, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.84 kB / 1.018 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9654/0.9667, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1658/1.133, allocations: 135.5 MB / 1.299 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008705/1.141, allocations: 7.927 MB / 1.307 GB, free: 3.809 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.013e-05/1.141, allocations: 0 / 1.307 GB, free: 3.809 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001742/1.142, allocations: 27.83 kB / 1.307 GB, free: 3.781 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.625e-05/1.142, allocations: 23.84 kB / 1.307 GB, free: 3.758 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003425/1.145, allocations: 1.45 MB / 1.308 GB, free: 2.312 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/1.145, allocations: 79.64 kB / 1.308 GB, free: 2.234 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/1.145, allocations: 4 kB / 1.308 GB, free: 2.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/1.145, allocations: 43.83 kB / 1.308 GB, free: 2.188 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.954e-05/1.146, allocations: 31.8 kB / 1.308 GB, free: 2.156 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/1.146, allocations: 4 kB / 1.308 GB, free: 2.152 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004443/1.15, allocations: 2.704 MB / 1.311 GB, free: 15.44 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.199e-05/1.15, allocations: 15.89 kB / 1.311 GB, free: 15.43 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/1.15, allocations: 35.86 kB / 1.311 GB, free: 15.39 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002272/1.152, allocations: 1.384 MB / 1.312 GB, free: 14.01 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.152, allocations: 4 kB / 1.312 GB, free: 14 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.122e-06/1.152, allocations: 0 / 1.312 GB, free: 14 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.941e-06/1.152, allocations: 0 / 1.312 GB, free: 14 MB / 1.045 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.0009604/1.153, allocations: 0.4945 MB / 1.313 GB, free: 13.46 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/1.153, allocations: 8.922 kB / 1.313 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003547/1.154, allocations: 24.88 kB / 1.313 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/1.154, allocations: 168.3 kB / 1.313 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.836e-05/1.154, allocations: 38.25 kB / 1.313 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/1.154, allocations: 7.938 kB / 1.313 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/1.154, allocations: 121.5 kB / 1.313 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/1.154, allocations: 0 / 1.313 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/1.154, allocations: 0 / 1.313 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/1.154, allocations: 4 kB / 1.313 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/1.155, allocations: 122.3 kB / 1.313 GB, free: 12.93 MB / 1.045 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.0004988/1.155, allocations: 384 kB / 1.314 GB, free: 12.49 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/1.156, allocations: 122.6 kB / 1.314 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.171e-05/1.156, allocations: 52.84 kB / 1.314 GB, free: 12.31 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/1.167, allocations: 4.222 MB / 1.318 GB, free: 7.77 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/1.167, allocations: 34.56 kB / 1.318 GB, free: 7.727 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 2.425e-06/1.167, allocations: 0 / 1.318 GB, free: 7.727 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0006171/1.168, allocations: 162.6 kB / 1.318 GB, free: 7.562 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/1.168, allocations: 59.41 kB / 1.318 GB, free: 7.492 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.707e-05/1.168, allocations: 101.8 kB / 1.318 GB, free: 7.383 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/1.168, allocations: 33.7 kB / 1.318 GB, free: 7.344 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/1.168, allocations: 80.14 kB / 1.318 GB, free: 7.262 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.855e-05/1.168, allocations: 47.58 kB / 1.318 GB, free: 7.215 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/1.168, allocations: 29.66 kB / 1.318 GB, free: 7.18 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000109/1.168, allocations: 326.8 kB / 1.319 GB, free: 6.852 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.77e-05/1.168, allocations: 23.98 kB / 1.319 GB, free: 6.828 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.742e-05/1.168, allocations: 33.11 kB / 1.319 GB, free: 6.797 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/1.168, allocations: 61.73 kB / 1.319 GB, free: 6.734 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.168, allocations: 0 / 1.319 GB, free: 6.734 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001754/1.169, allocations: 110.1 kB / 1.319 GB, free: 6.621 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.169, allocations: 11.98 kB / 1.319 GB, free: 6.609 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/1.169, allocations: 192 / 1.319 GB, free: 6.609 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/1.169, allocations: 0 / 1.319 GB, free: 6.609 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/1.169, allocations: 23.92 kB / 1.319 GB, free: 6.586 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/1.169, allocations: 0 / 1.319 GB, free: 6.586 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.685e-05/1.169, allocations: 23.81 kB / 1.319 GB, free: 6.562 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/1.169, allocations: 8 kB / 1.319 GB, free: 6.555 MB / 1.045 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.0001124/1.169, allocations: 113.8 kB / 1.319 GB, free: 6.434 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.737e-05/1.169, allocations: 7.953 kB / 1.319 GB, free: 6.426 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004898/1.17, allocations: 364.1 kB / 1.32 GB, free: 6.066 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/1.17, allocations: 11.98 kB / 1.32 GB, free: 6.055 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.17, allocations: 0 / 1.32 GB, free: 6.055 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.17, allocations: 3.938 kB / 1.32 GB, free: 6.051 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/1.17, allocations: 281.4 kB / 1.32 GB, free: 5.727 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/1.17, allocations: 4 kB / 1.32 GB, free: 5.723 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.302e-05/1.17, allocations: 23.92 kB / 1.32 GB, free: 5.699 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/1.17, allocations: 4 kB / 1.32 GB, free: 5.695 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/1.17, allocations: 4 kB / 1.32 GB, free: 5.691 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/1.17, allocations: 3.984 kB / 1.32 GB, free: 5.688 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/1.17, allocations: 0 / 1.32 GB, free: 5.688 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/1.17, allocations: 338.9 kB / 1.32 GB, free: 5.34 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.726e-05/1.17, allocations: 101 kB / 1.32 GB, free: 5.223 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/1.17, allocations: 4 kB / 1.32 GB, free: 5.219 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/1.171, allocations: 11.98 kB / 1.32 GB, free: 5.207 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/1.171, allocations: 7.984 kB / 1.32 GB, free: 5.199 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/1.171, allocations: 11.94 kB / 1.32 GB, free: 5.188 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.866e-05/1.171, allocations: 79.28 kB / 1.32 GB, free: 5.109 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/1.171, allocations: 0 / 1.32 GB, free: 5.109 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009509/1.172, allocations: 299.6 kB / 1.321 GB, free: 4.816 MB / 1.045 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.001216/1.173, allocations: 399.6 kB / 1.321 GB, free: 4.414 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002352/1.173, allocations: 120 kB / 1.321 GB, free: 4.297 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.173, allocations: 4 kB / 1.321 GB, free: 4.293 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/1.173, allocations: 119.8 kB / 1.321 GB, free: 4.176 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/1.174, allocations: 18.81 kB / 1.321 GB, free: 4.16 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/1.174, allocations: 308.2 kB / 1.322 GB, free: 3.832 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/1.174, allocations: 0.7172 MB / 1.322 GB, free: 3.09 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001081/1.175, allocations: 36.41 kB / 1.322 GB, free: 3.055 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/1.175, allocations: 11.44 kB / 1.322 GB, free: 3.043 MB / 1.045 GB Notification: Performance of SimCode: time 2.3e-07/1.175, allocations: 4 kB / 1.322 GB, free: 3.039 MB / 1.045 GB Notification: Performance of Templates: time 0.01601/1.191, allocations: 9.8 MB / 1.332 GB, free: 9.234 MB / 1.061 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