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.007783/0.007783, allocations: 100.8 kB / 15.73 MB, free: 6.066 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.001806/0.001806, allocations: 196.1 kB / 16.68 MB, free: 5.973 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.511/2.511, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 59.91 kB / 1.018 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9769/0.9784, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.16/1.138, allocations: 135.6 MB / 1.299 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01048/1.149, allocations: 7.911 MB / 1.307 GB, free: 3.844 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.783e-05/1.149, allocations: 0 / 1.307 GB, free: 3.844 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001992/1.149, allocations: 31.81 kB / 1.307 GB, free: 3.812 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.327e-05/1.149, allocations: 23.84 kB / 1.307 GB, free: 3.789 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004008/1.153, allocations: 1.465 MB / 1.308 GB, free: 2.328 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001565/1.154, allocations: 79.58 kB / 1.308 GB, free: 2.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/1.154, allocations: 4 kB / 1.308 GB, free: 2.246 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/1.154, allocations: 43.83 kB / 1.308 GB, free: 2.203 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.715e-05/1.154, allocations: 31.91 kB / 1.308 GB, free: 2.172 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/1.154, allocations: 4 kB / 1.308 GB, free: 2.168 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004286/1.158, allocations: 2.696 MB / 1.311 GB, free: 15.47 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/1.158, allocations: 19.91 kB / 1.311 GB, free: 15.45 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.655e-05/1.158, allocations: 35.86 kB / 1.311 GB, free: 15.41 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001869/1.16, allocations: 1.392 MB / 1.312 GB, free: 14.02 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.16, allocations: 0 / 1.312 GB, free: 14.02 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.252e-06/1.16, allocations: 0 / 1.312 GB, free: 14.02 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.362e-06/1.16, allocations: 0 / 1.312 GB, free: 14.02 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.0009786/1.161, allocations: 498.4 kB / 1.313 GB, free: 13.48 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/1.161, allocations: 16.91 kB / 1.313 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003633/1.162, allocations: 24.88 kB / 1.313 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/1.162, allocations: 172.3 kB / 1.313 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.044e-05/1.162, allocations: 26.27 kB / 1.313 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/1.162, allocations: 15.92 kB / 1.313 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/1.162, allocations: 123.6 kB / 1.313 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/1.162, allocations: 0 / 1.313 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/1.162, allocations: 4 kB / 1.313 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/1.162, allocations: 4 kB / 1.313 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/1.163, allocations: 111.9 kB / 1.313 GB, free: 12.95 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.0005198/1.163, allocations: 384.1 kB / 1.314 GB, free: 12.51 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/1.163, allocations: 126.5 kB / 1.314 GB, free: 12.38 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.413e-05/1.164, allocations: 56.83 kB / 1.314 GB, free: 12.32 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01157/1.175, allocations: 4.222 MB / 1.318 GB, free: 7.781 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/1.175, allocations: 30.56 kB / 1.318 GB, free: 7.742 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 2.074e-06/1.175, allocations: 0 / 1.318 GB, free: 7.742 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0005589/1.176, allocations: 166.6 kB / 1.318 GB, free: 7.574 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/1.176, allocations: 59.41 kB / 1.318 GB, free: 7.504 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.04e-05/1.176, allocations: 101.9 kB / 1.318 GB, free: 7.395 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/1.176, allocations: 29.64 kB / 1.318 GB, free: 7.359 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/1.176, allocations: 84.12 kB / 1.318 GB, free: 7.273 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/1.176, allocations: 47.59 kB / 1.318 GB, free: 7.227 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/1.176, allocations: 33.7 kB / 1.319 GB, free: 7.188 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.176, allocations: 318.8 kB / 1.319 GB, free: 6.867 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-05/1.176, allocations: 27.98 kB / 1.319 GB, free: 6.84 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.798e-05/1.176, allocations: 34.11 kB / 1.319 GB, free: 6.809 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/1.176, allocations: 60.86 kB / 1.319 GB, free: 6.746 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.176, allocations: 0 / 1.319 GB, free: 6.746 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001865/1.177, allocations: 107.2 kB / 1.319 GB, free: 6.637 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.177, allocations: 11.94 kB / 1.319 GB, free: 6.625 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/1.177, allocations: 0 / 1.319 GB, free: 6.625 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/1.177, allocations: 0 / 1.319 GB, free: 6.625 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/1.177, allocations: 27.92 kB / 1.319 GB, free: 6.598 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/1.177, allocations: 4 kB / 1.319 GB, free: 6.594 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/1.177, allocations: 15.81 kB / 1.319 GB, free: 6.578 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/1.177, allocations: 8 kB / 1.319 GB, free: 6.57 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 9.48e-05/1.177, allocations: 109.8 kB / 1.319 GB, free: 6.453 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/1.177, allocations: 11.89 kB / 1.319 GB, free: 6.441 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/1.177, allocations: 372.2 kB / 1.32 GB, free: 6.074 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/1.178, allocations: 7.984 kB / 1.32 GB, free: 6.066 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.178, allocations: 0 / 1.32 GB, free: 6.066 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/1.178, allocations: 7.922 kB / 1.32 GB, free: 6.059 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/1.178, allocations: 281.4 kB / 1.32 GB, free: 5.734 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/1.178, allocations: 0 / 1.32 GB, free: 5.734 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.569e-05/1.178, allocations: 27.98 kB / 1.32 GB, free: 5.707 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/1.178, allocations: 0 / 1.32 GB, free: 5.707 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/1.178, allocations: 0 / 1.32 GB, free: 5.707 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.178, allocations: 0 / 1.32 GB, free: 5.707 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.178, allocations: 0 / 1.32 GB, free: 5.707 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/1.178, allocations: 342.8 kB / 1.32 GB, free: 5.355 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.023e-05/1.178, allocations: 105 kB / 1.32 GB, free: 5.234 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/1.178, allocations: 0 / 1.32 GB, free: 5.234 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/1.179, allocations: 15.98 kB / 1.32 GB, free: 5.219 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/1.179, allocations: 7.984 kB / 1.32 GB, free: 5.211 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/1.179, allocations: 7.938 kB / 1.32 GB, free: 5.203 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.395e-05/1.179, allocations: 79.28 kB / 1.32 GB, free: 5.125 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/1.179, allocations: 0 / 1.32 GB, free: 5.125 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009633/1.18, allocations: 307.6 kB / 1.321 GB, free: 4.824 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.001208/1.181, allocations: 394.7 kB / 1.321 GB, free: 4.426 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002229/1.181, allocations: 119.9 kB / 1.321 GB, free: 4.309 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.181, allocations: 4 kB / 1.321 GB, free: 4.305 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/1.181, allocations: 119.8 kB / 1.321 GB, free: 4.188 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/1.182, allocations: 15.98 kB / 1.321 GB, free: 4.172 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/1.182, allocations: 312.3 kB / 1.322 GB, free: 3.84 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/1.182, allocations: 0.7172 MB / 1.322 GB, free: 3.098 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001023/1.182, allocations: 28.34 kB / 1.322 GB, free: 3.07 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/1.183, allocations: 19.38 kB / 1.322 GB, free: 3.051 MB / 1.045 GB Notification: Performance of SimCode: time 2.41e-07/1.183, allocations: 0 / 1.322 GB, free: 3.051 MB / 1.045 GB Notification: Performance of Templates: time 0.01417/1.197, allocations: 9.813 MB / 1.332 GB, free: 9.242 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