Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 81.95 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8968/0.8968, allocations: 177.1 MB / 204.5 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.703/1.703, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") translateModel(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.port_a.m_flow|volSte.port_a.m_flow|volDyn.VLiq|volSte.VLiq|volDyn.T|volSte.T",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.456e-05, allocations: 4.703 kB / 0.7876 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.1237/0.1237, allocations: 134.2 MB / 0.9186 GB, free: 5.504 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.007898/0.1316, allocations: 7.017 MB / 0.9255 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000695/0.1323, allocations: 23.81 kB / 0.9255 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006086/0.1329, allocations: 198.5 kB / 0.9257 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.1354, allocations: 1.127 MB / 0.9268 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.138, allocations: 1.309 MB / 0.9281 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001485/0.1395, allocations: 1.379 MB / 0.9294 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005093/0.14, allocations: 378.4 kB / 0.9298 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.1414, allocations: 0.9151 MB / 0.9307 GB, free: 9.125 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.1433, allocations: 1.22 MB / 0.9319 GB, free: 7.906 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 7.814e-05/0.1434, allocations: 52 kB / 0.9319 GB, free: 7.855 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.1451, allocations: 1.225 MB / 0.9331 GB, free: 6.629 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.1452, allocations: 163.4 kB / 0.9333 GB, free: 6.469 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002228/0.1455, allocations: 255.4 kB / 0.9335 GB, free: 6.219 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.147, allocations: 1.325 MB / 0.9348 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.147, allocations: 0 / 0.9348 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of FrontEnd: time 9.42e-07/0.147, allocations: 0 / 0.9348 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.147, allocations: 0 / 0.9348 GB, free: 4.891 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001045/0.148, allocations: 0.998 MB / 0.9358 GB, free: 3.852 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.1481, allocations: 12.03 kB / 0.9358 GB, free: 3.84 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005873/0.1487, allocations: 231.9 kB / 0.936 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.1491, allocations: 382.7 kB / 0.9364 GB, free: 3.215 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.1491, allocations: 41.69 kB / 0.9364 GB, free: 3.176 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.216e-05/0.1492, allocations: 56.38 kB / 0.9365 GB, free: 3.121 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006386/0.1498, allocations: 0.8586 MB / 0.9373 GB, free: 2.117 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.1498, allocations: 7.938 kB / 0.9373 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.1498, allocations: 24 kB / 0.9374 GB, free: 2.086 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.1499, allocations: 16 kB / 0.9374 GB, free: 2.07 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.1501, allocations: 218.6 kB / 0.9376 GB, free: 1.859 MB / 0.8855 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.002161/0.1523, allocations: 2.685 MB / 0.9402 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.1525, allocations: 176.9 kB / 0.9404 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.145e-05/0.1526, allocations: 83.62 kB / 0.9405 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002734/0.1553, allocations: 1.392 MB / 0.9418 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.1553, allocations: 41.38 kB / 0.9418 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=36): time 1.542e-06/0.1553, allocations: 0 / 0.9418 GB, free: 13.37 MB / 0.9011 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volDyn.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=52): time 0.01933/0.1747, allocations: 7.922 MB / 0.9496 GB, free: 5.43 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/0.1747, allocations: 141 kB / 0.9497 GB, free: 5.258 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.175, allocations: 366.5 kB / 0.9501 GB, free: 4.887 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.503e-05/0.1751, allocations: 33.7 kB / 0.9501 GB, free: 4.848 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.1752, allocations: 351.4 kB / 0.9504 GB, free: 4.5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.1754, allocations: 186.4 kB / 0.9506 GB, free: 4.316 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.1755, allocations: 123.9 kB / 0.9507 GB, free: 4.188 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1757, allocations: 0.5234 MB / 0.9512 GB, free: 3.652 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.1758, allocations: 93.23 kB / 0.9513 GB, free: 3.559 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.1761, allocations: 366.6 kB / 0.9517 GB, free: 3.113 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007032/0.1768, allocations: 397.3 kB / 0.9521 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1768, allocations: 0 / 0.9521 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007574/0.1775, allocations: 0.5547 MB / 0.9526 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1775, allocations: 4 kB / 0.9526 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.1775, allocations: 11.88 kB / 0.9526 GB, free: 2.082 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003149/0.1779, allocations: 115.5 kB / 0.9527 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.1781, allocations: 119.8 kB / 0.9528 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/0.1802, allocations: 4.046 MB / 0.9568 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.1804, allocations: 23.98 kB / 0.9568 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.1805, allocations: 20 kB / 0.9568 GB, free: 13.53 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002027/0.1807, allocations: 196.4 kB / 0.957 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.1808, allocations: 95.3 kB / 0.9571 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000714/0.1815, allocations: 0.5632 MB / 0.9577 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1816, allocations: 4 kB / 0.9577 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.1816, allocations: 4.125 kB / 0.9577 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1816, allocations: 3.984 kB / 0.9577 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.1833, allocations: 1.138 MB / 0.9588 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1833, allocations: 7.938 kB / 0.9588 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.1835, allocations: 99.81 kB / 0.9589 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001531/0.1836, allocations: 59.64 kB / 0.9589 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.1837, allocations: 23.97 kB / 0.959 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009293/0.1846, allocations: 2.032 MB / 0.961 GB, free: 9.062 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.1846, allocations: 11.88 kB / 0.961 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007813/0.1854, allocations: 0.7322 MB / 0.9617 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/0.1854, allocations: 43.64 kB / 0.9617 GB, free: 8.199 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/0.1855, allocations: 16 kB / 0.9617 GB, free: 8.184 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.1857, allocations: 15.98 kB / 0.9618 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/0.1857, allocations: 51.81 kB / 0.9618 GB, free: 8.117 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.1858, allocations: 19.98 kB / 0.9618 GB, free: 8.098 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001533/0.1859, allocations: 243 kB / 0.9621 GB, free: 7.867 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1859, allocations: 0 / 0.9621 GB, free: 7.867 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002208/0.1881, allocations: 0.7613 MB / 0.9628 GB, free: 7.105 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.VWat,volSte.VWat) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002452/0.1906, allocations: 495.2 kB / 0.9633 GB, free: 6.617 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0008641/0.1914, allocations: 0.685 MB / 0.9639 GB, free: 5.898 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1914, allocations: 0 / 0.9639 GB, free: 5.898 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.1917, allocations: 343.5 kB / 0.9643 GB, free: 5.543 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000798/0.1925, allocations: 246.8 kB / 0.9645 GB, free: 5.301 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.1941, allocations: 1.076 MB / 0.9656 GB, free: 4.133 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.1942, allocations: 134 kB / 0.9657 GB, free: 3.98 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006893/0.1949, allocations: 102 kB / 0.9658 GB, free: 3.891 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004387/0.1954, allocations: 306 kB / 0.9661 GB, free: 3.586 MB / 0.9167 GB Notification: Performance of SimCode: time 1.523e-06/0.1954, allocations: 0 / 0.9661 GB, free: 3.586 MB / 0.9167 GB Notification: Performance of Templates: time 0.04917/0.2445, allocations: 39.22 MB / 1.004 GB, free: 12.79 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.sim & ./Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Steam_BaseClasses_Examples_ControlVolumeEvaporation.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.59929254790768]