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.001098/0.001098, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009897/0.0009897, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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.9243/0.9243, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.835/1.835, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 177] 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.713e-06/1.713e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.743e-05, allocations: 8.844 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Steam.BaseClasses.Examples.ControlVolumeEvaporation): time 0.125/0.1251, allocations: 136.8 MB / 0.9207 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.008902/0.134, allocations: 7.103 MB / 0.9276 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006423/0.1346, allocations: 19.81 kB / 0.9276 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006779/0.1353, allocations: 194.4 kB / 0.9278 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002482/0.1378, allocations: 1.123 MB / 0.9289 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.1405, allocations: 1.309 MB / 0.9302 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001549/0.1421, allocations: 1.379 MB / 0.9315 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005156/0.1426, allocations: 378.3 kB / 0.9319 GB, free: 7.73 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.144, allocations: 0.919 MB / 0.9328 GB, free: 6.809 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/0.1461, allocations: 1.227 MB / 0.934 GB, free: 5.582 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 9.426e-05/0.1462, allocations: 52 kB / 0.9341 GB, free: 5.531 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.1482, allocations: 1.217 MB / 0.9352 GB, free: 4.312 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.1483, allocations: 167.4 kB / 0.9354 GB, free: 4.148 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.1486, allocations: 259.4 kB / 0.9356 GB, free: 3.895 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.1502, allocations: 1.336 MB / 0.937 GB, free: 2.555 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1502, allocations: 0 / 0.937 GB, free: 2.555 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1502, allocations: 0 / 0.937 GB, free: 2.555 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.1502, allocations: 7.938 kB / 0.937 GB, free: 2.547 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.001343/0.1515, allocations: 0.9787 MB / 0.9379 GB, free: 1.527 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.142e-05/0.1516, allocations: 12.03 kB / 0.9379 GB, free: 1.516 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006891/0.1523, allocations: 235.9 kB / 0.9382 GB, free: 1.285 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.1527, allocations: 390.7 kB / 0.9385 GB, free: 0.8789 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.1527, allocations: 41.69 kB / 0.9386 GB, free: 0.8398 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.318e-05/0.1528, allocations: 60.31 kB / 0.9386 GB, free: 0.7812 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009781/0.1538, allocations: 0.9519 MB / 0.9396 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.1538, allocations: 3.938 kB / 0.9396 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.1538, allocations: 24 kB / 0.9396 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.1539, allocations: 12 kB / 0.9396 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003789/0.1542, allocations: 277.6 kB / 0.9399 GB, free: 15.36 MB / 0.9011 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.002053/0.1563, allocations: 2.747 MB / 0.9425 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.1566, allocations: 189.4 kB / 0.9427 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.1567, allocations: 107.5 kB / 0.9428 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003287/0.16, allocations: 1.73 MB / 0.9445 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.16, allocations: 41.39 kB / 0.9445 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=36): time 1.753e-06/0.1601, allocations: 0 / 0.9445 GB, free: 10.43 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.02259/0.1826, allocations: 9.867 MB / 0.9542 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.1827, allocations: 137 kB / 0.9543 GB, free: 380 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.183, allocations: 370.6 kB / 0.9547 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.183, allocations: 37.7 kB / 0.9547 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.1832, allocations: 351.4 kB / 0.955 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.863e-05/0.1833, allocations: 194.3 kB / 0.9552 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.1834, allocations: 116 kB / 0.9553 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1835, allocations: 0.5235 MB / 0.9558 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.1837, allocations: 129.2 kB / 0.956 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.184, allocations: 386.8 kB / 0.9563 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004546/0.1844, allocations: 441.4 kB / 0.9568 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1844, allocations: 3.938 kB / 0.9568 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000905/0.1854, allocations: 0.6131 MB / 0.9574 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1854, allocations: 14.12 kB / 0.9574 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.1854, allocations: 4.375 kB / 0.9574 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003436/0.1857, allocations: 111.3 kB / 0.9575 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.186, allocations: 119.8 kB / 0.9576 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.1882, allocations: 4.1 MB / 0.9616 GB, free: 8.453 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.1885, allocations: 23.98 kB / 0.9616 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.1885, allocations: 31.98 kB / 0.9617 GB, free: 8.398 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.000172/0.1887, allocations: 188.4 kB / 0.9618 GB, free: 8.203 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.1888, allocations: 99.3 kB / 0.9619 GB, free: 8.105 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008605/0.1897, allocations: 0.5976 MB / 0.9625 GB, free: 7.477 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1897, allocations: 4 kB / 0.9625 GB, free: 7.473 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1897, allocations: 0 / 0.9625 GB, free: 7.473 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.1897, allocations: 0 / 0.9625 GB, free: 7.473 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.1912, allocations: 1.243 MB / 0.9637 GB, free: 6.129 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1912, allocations: 0 / 0.9637 GB, free: 6.129 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.1915, allocations: 95.88 kB / 0.9638 GB, free: 6.035 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001803/0.1917, allocations: 79.97 kB / 0.9639 GB, free: 5.953 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.1917, allocations: 11.98 kB / 0.9639 GB, free: 5.941 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/0.1927, allocations: 2.067 MB / 0.9659 GB, free: 3.754 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.1927, allocations: 4 kB / 0.9659 GB, free: 3.75 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008925/0.1936, allocations: 0.783 MB / 0.9667 GB, free: 2.891 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.1936, allocations: 51.7 kB / 0.9667 GB, free: 2.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.1937, allocations: 8 kB / 0.9668 GB, free: 2.832 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.1939, allocations: 23.98 kB / 0.9668 GB, free: 2.809 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/0.1941, allocations: 47.81 kB / 0.9668 GB, free: 2.762 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.1941, allocations: 31.95 kB / 0.9669 GB, free: 2.73 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001739/0.1943, allocations: 255.1 kB / 0.9671 GB, free: 2.48 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1943, allocations: 0 / 0.9671 GB, free: 2.48 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001881/0.1962, allocations: 0.7768 MB / 0.9679 GB, free: 1.703 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.002328/0.1985, allocations: 481.8 kB / 0.9683 GB, free: 1.227 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009273/0.1994, allocations: 0.7247 MB / 0.969 GB, free: 476 kB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.1994, allocations: 4 kB / 0.969 GB, free: 472 kB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003119/0.1998, allocations: 354.8 kB / 0.9694 GB, free: 96 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007649/0.2005, allocations: 263.7 kB / 0.9696 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.2021, allocations: 1.074 MB / 0.9707 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.878e-05/0.2022, allocations: 142 kB / 0.9708 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003009/0.2025, allocations: 109.3 kB / 0.9709 GB, free: 14.42 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.2026, allocations: 56.48 kB / 0.971 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of SimCode: time 9.72e-07/0.2026, allocations: 0 / 0.971 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of Templates: time 0.04232/0.2449, allocations: 37.11 MB / 1.007 GB, free: 9.707 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: 7.737604818772525]