Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.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.0008189/0.0008189, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009776/0.0009776, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.9799/0.9799, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.024/2.024, allocations: 429.5 MB / 0.6732 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,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_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation,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_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.595e-05, allocations: 5.562 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1246/0.1246, allocations: 136.8 MB / 1.012 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.005448/0.13, allocations: 5.763 MB / 1.017 GB, free: 7.266 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002481/0.1303, allocations: 23.81 kB / 1.017 GB, free: 7.242 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005108/0.1308, allocations: 202.5 kB / 1.018 GB, free: 7.043 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.1319, allocations: 0.7418 MB / 1.018 GB, free: 6.297 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.1333, allocations: 0.9852 MB / 1.019 GB, free: 5.309 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0008874/0.1341, allocations: 1.364 MB / 1.021 GB, free: 3.938 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004237/0.1346, allocations: 366.3 kB / 1.021 GB, free: 3.574 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.1357, allocations: 0.9423 MB / 1.022 GB, free: 2.629 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004054/0.1361, allocations: 394.8 kB / 1.022 GB, free: 2.242 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 6.183e-05/0.1361, allocations: 52 kB / 1.022 GB, free: 2.191 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.1377, allocations: 1.225 MB / 1.023 GB, free: 0.9648 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.1379, allocations: 171.3 kB / 1.024 GB, free: 0.7969 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.1381, allocations: 255.5 kB / 1.024 GB, free: 0.5469 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.1395, allocations: 1.333 MB / 1.025 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1395, allocations: 0 / 1.025 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1396, allocations: 0 / 1.025 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.1396, allocations: 0 / 1.025 GB, free: 15.21 MB / 0.9948 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.001052/0.1406, allocations: 0.9784 MB / 1.026 GB, free: 14.19 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1407, allocations: 8.031 kB / 1.026 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006698/0.1413, allocations: 243.8 kB / 1.026 GB, free: 13.95 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.1417, allocations: 378.7 kB / 1.027 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.1418, allocations: 41.67 kB / 1.027 GB, free: 13.51 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/0.1418, allocations: 64.38 kB / 1.027 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007703/0.1426, allocations: 0.944 MB / 1.028 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/0.1426, allocations: 3.938 kB / 1.028 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.106e-05/0.1427, allocations: 28 kB / 1.028 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.1427, allocations: 16 kB / 1.028 GB, free: 12.29 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003814/0.1431, allocations: 265.5 kB / 1.028 GB, free: 12.04 MB / 0.9948 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.008279/0.1514, allocations: 6.099 MB / 1.034 GB, free: 5.84 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.1516, allocations: 107.7 kB / 1.034 GB, free: 5.723 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.944e-05/0.1517, allocations: 65.23 kB / 1.034 GB, free: 5.656 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003936/0.1556, allocations: 1.621 MB / 1.036 GB, free: 4.031 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.1556, allocations: 37.62 kB / 1.036 GB, free: 3.984 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=27): time 1.303e-06/0.1556, allocations: 0 / 1.036 GB, free: 3.984 MB / 0.9948 GB Notification: Performance of matching and sorting (n=40): time 0.0279/0.1835, allocations: 8.931 MB / 1.045 GB, free: 11.02 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.1836, allocations: 136.5 kB / 1.045 GB, free: 10.86 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.1839, allocations: 386.6 kB / 1.045 GB, free: 10.46 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.1839, allocations: 33.7 kB / 1.045 GB, free: 10.43 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.1841, allocations: 367.2 kB / 1.045 GB, free: 10.06 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 8.08e-05/0.1841, allocations: 154.7 kB / 1.046 GB, free: 9.91 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.1842, allocations: 111.9 kB / 1.046 GB, free: 9.789 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1844, allocations: 0.5195 MB / 1.046 GB, free: 9.258 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.1845, allocations: 101.2 kB / 1.046 GB, free: 9.16 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.1848, allocations: 408.3 kB / 1.047 GB, free: 8.645 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.1852, allocations: 423.5 kB / 1.047 GB, free: 8.148 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1852, allocations: 0 / 1.047 GB, free: 8.148 MB / 1.01 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009352/0.1861, allocations: 0.547 MB / 1.048 GB, free: 7.586 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1861, allocations: 8.094 kB / 1.048 GB, free: 7.578 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.1862, allocations: 8 kB / 1.048 GB, free: 7.57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003047/0.1865, allocations: 103.3 kB / 1.048 GB, free: 7.461 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.1867, allocations: 119.8 kB / 1.048 GB, free: 7.344 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.1886, allocations: 4.087 MB / 1.052 GB, free: 3.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.1888, allocations: 23.98 kB / 1.052 GB, free: 2.996 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.1888, allocations: 24 kB / 1.052 GB, free: 2.973 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 58 * 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.0001417/0.1889, allocations: 192.5 kB / 1.052 GB, free: 2.773 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.1891, allocations: 75.58 kB / 1.052 GB, free: 2.699 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006464/0.1897, allocations: 0.5241 MB / 1.053 GB, free: 2.129 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.1897, allocations: 7.938 kB / 1.053 GB, free: 2.121 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.1897, allocations: 0 / 1.053 GB, free: 2.121 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1897, allocations: 3.984 kB / 1.053 GB, free: 2.117 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.1909, allocations: 1.063 MB / 1.054 GB, free: 0.9258 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1909, allocations: 4 kB / 1.054 GB, free: 0.9219 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.191, allocations: 60.47 kB / 1.054 GB, free: 0.8633 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001798/0.1912, allocations: 75.62 kB / 1.054 GB, free: 0.7852 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.1912, allocations: 15.92 kB / 1.054 GB, free: 0.7695 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4631/0.6543, allocations: 2.072 MB / 1.056 GB, free: 79.77 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.6543, allocations: 8.125 kB / 1.056 GB, free: 79.77 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006837/0.6549, allocations: 0.6212 MB / 1.056 GB, free: 79.37 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.655, allocations: 39.48 kB / 1.057 GB, free: 79.37 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.6551, allocations: 18.72 kB / 1.057 GB, free: 79.37 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.6552, allocations: 16.06 kB / 1.057 GB, free: 79.37 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/0.6553, allocations: 39.75 kB / 1.057 GB, free: 79.37 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.6553, allocations: 20.27 kB / 1.057 GB, free: 79.37 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001698/0.6555, allocations: 266.5 kB / 1.057 GB, free: 79.25 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6555, allocations: 0 / 1.057 GB, free: 79.25 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001953/0.6574, allocations: 0.7152 MB / 1.058 GB, free: 79.25 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (29): * Single equations (assignments): 28 * 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.002195/0.6596, allocations: 430.9 kB / 1.058 GB, free: 79.16 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007266/0.6604, allocations: 0.6451 MB / 1.059 GB, free: 78.81 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.6604, allocations: 2.938 kB / 1.059 GB, free: 78.81 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.6606, allocations: 290.7 kB / 1.059 GB, free: 78.62 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007059/0.6613, allocations: 219.8 kB / 1.059 GB, free: 78.62 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.6626, allocations: 1.047 MB / 1.06 GB, free: 77.99 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.084e-05/0.6627, allocations: 131.6 kB / 1.06 GB, free: 77.91 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002416/0.6629, allocations: 89.17 kB / 1.06 GB, free: 77.91 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.182e-05/0.663, allocations: 44.48 kB / 1.06 GB, free: 77.91 MB / 1.01 GB Notification: Performance of SimCode: time 8.42e-07/0.663, allocations: 3.875 kB / 1.06 GB, free: 77.91 MB / 1.01 GB Notification: Performance of Templates: time 0.05147/0.7145, allocations: 33.68 MB / 1.093 GB, free: 76.93 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_BaseClasses_Examples_ControlVolumeCondensation.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: 6.7949886419810355]