Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001659/0.001659, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.002/0.002, allocations: 169 kB / 24.28 MB, free: 280 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.9373/0.9373, allocations: 177.1 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.792/1.792, allocations: 377.8 MB / 0.6239 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.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_12_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_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8115 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.831e-05, allocations: 7.125 kB / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1438/0.1438, allocations: 159.8 MB / 0.9675 GB, free: 1.809 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.008224/0.152, allocations: 8.224 MB / 0.9756 GB, free: 9.555 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003695/0.1524, allocations: 23.81 kB / 0.9756 GB, free: 9.531 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0007954/0.1532, allocations: 329.7 kB / 0.9759 GB, free: 9.207 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.1545, allocations: 0.7847 MB / 0.9767 GB, free: 8.418 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003479/0.1579, allocations: 2.18 MB / 0.9788 GB, free: 6.23 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0009707/0.1589, allocations: 1.391 MB / 0.9802 GB, free: 4.836 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004344/0.1593, allocations: 378.3 kB / 0.9805 GB, free: 4.465 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.1619, allocations: 1.692 MB / 0.9822 GB, free: 2.766 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004122/0.1623, allocations: 398.8 kB / 0.9826 GB, free: 2.375 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 5.965e-05/0.1624, allocations: 52 kB / 0.9826 GB, free: 2.324 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004304/0.1667, allocations: 3.507 MB / 0.986 GB, free: 14.81 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.1668, allocations: 175.3 kB / 0.9862 GB, free: 14.64 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.167, allocations: 251.5 kB / 0.9864 GB, free: 14.39 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002483/0.1695, allocations: 2.88 MB / 0.9892 GB, free: 11.51 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1695, allocations: 0 / 0.9892 GB, free: 11.51 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1695, allocations: 0 / 0.9892 GB, free: 11.51 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.1695, allocations: 0 / 0.9892 GB, free: 11.51 MB / 0.948 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.001234/0.1708, allocations: 1.067 MB / 0.9903 GB, free: 10.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1708, allocations: 12.03 kB / 0.9903 GB, free: 10.39 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007307/0.1715, allocations: 234.9 kB / 0.9905 GB, free: 10.16 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.1719, allocations: 378.2 kB / 0.9909 GB, free: 9.766 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.172, allocations: 37.31 kB / 0.9909 GB, free: 9.73 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.776e-05/0.172, allocations: 63.95 kB / 0.991 GB, free: 9.668 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007588/0.1728, allocations: 0.9435 MB / 0.9919 GB, free: 8.562 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.1728, allocations: 7.984 kB / 0.9919 GB, free: 8.555 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/0.1729, allocations: 20 kB / 0.9919 GB, free: 8.535 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.1729, allocations: 19.94 kB / 0.9919 GB, free: 8.516 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.1733, allocations: 261.6 kB / 0.9922 GB, free: 8.262 MB / 0.948 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.008017/0.1813, allocations: 6.099 MB / 0.9982 GB, free: 2.062 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.1815, allocations: 99.72 kB / 0.9982 GB, free: 1.953 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.398e-05/0.1816, allocations: 60.12 kB / 0.9983 GB, free: 1.891 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005803/0.1874, allocations: 3.278 MB / 1.002 GB, free: 14.61 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.1874, allocations: 49.56 kB / 1.002 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.1874, allocations: 0 / 1.002 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of matching and sorting (n=40): time 0.0365/0.2239, allocations: 16.62 MB / 1.018 GB, free: 13.92 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.224, allocations: 136.5 kB / 1.018 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.2243, allocations: 390.5 kB / 1.018 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.2243, allocations: 33.7 kB / 1.018 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.2245, allocations: 371.2 kB / 1.019 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 8.288e-05/0.2245, allocations: 154.7 kB / 1.019 GB, free: 12.8 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.2247, allocations: 111.9 kB / 1.019 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2248, allocations: 0.5235 MB / 1.019 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.2249, allocations: 97.25 kB / 1.02 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.2252, allocations: 412.4 kB / 1.02 GB, free: 11.53 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/0.2256, allocations: 421.2 kB / 1.02 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.2256, allocations: 4 kB / 1.02 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000843/0.2265, allocations: 0.541 MB / 1.021 GB, free: 10.48 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.2265, allocations: 8 kB / 1.021 GB, free: 10.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.2265, allocations: 4.531 kB / 1.021 GB, free: 10.47 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003354/0.2268, allocations: 111.3 kB / 1.021 GB, free: 10.35 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.2271, allocations: 107.8 kB / 1.021 GB, free: 10.25 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/0.2293, allocations: 4.087 MB / 1.025 GB, free: 5.918 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.2295, allocations: 27.92 kB / 1.025 GB, free: 5.891 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.2295, allocations: 23.98 kB / 1.025 GB, free: 5.867 MB / 0.9792 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.000157/0.2297, allocations: 188.5 kB / 1.025 GB, free: 5.672 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.2298, allocations: 67.59 kB / 1.025 GB, free: 5.605 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000659/0.2305, allocations: 0.4997 MB / 1.026 GB, free: 5.07 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2305, allocations: 4 kB / 1.026 GB, free: 5.066 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.2305, allocations: 0 / 1.026 GB, free: 5.066 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2305, allocations: 0 / 1.026 GB, free: 5.066 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.2316, allocations: 1.083 MB / 1.027 GB, free: 3.848 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.2316, allocations: 4 kB / 1.027 GB, free: 3.844 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.2317, allocations: 59.91 kB / 1.027 GB, free: 3.785 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001801/0.2319, allocations: 75.89 kB / 1.027 GB, free: 3.707 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.2319, allocations: 19.94 kB / 1.027 GB, free: 3.688 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.233, allocations: 2.068 MB / 1.029 GB, free: 1.504 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.233, allocations: 4 kB / 1.029 GB, free: 1.5 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006335/0.2336, allocations: 0.6461 MB / 1.03 GB, free: 0.7461 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.2336, allocations: 43.69 kB / 1.03 GB, free: 0.7031 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.2337, allocations: 12 kB / 1.03 GB, free: 0.6914 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.2338, allocations: 23.98 kB / 1.03 GB, free: 0.668 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.2339, allocations: 43.83 kB / 1.03 GB, free: 0.625 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.2339, allocations: 20.03 kB / 1.03 GB, free: 0.6055 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001713/0.2341, allocations: 263.1 kB / 1.03 GB, free: 356 kB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.2341, allocations: 4 kB / 1.03 GB, free: 352 kB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001288/0.2354, allocations: 0.519 MB / 1.031 GB, free: 15.82 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (31): * Single equations (assignments): 30 * 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.001355/0.2367, allocations: 0.5482 MB / 1.031 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0007433/0.2375, allocations: 0.6381 MB / 1.032 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2375, allocations: 4 kB / 1.032 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.2377, allocations: 294.9 kB / 1.032 GB, free: 14.28 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006646/0.2384, allocations: 211.9 kB / 1.032 GB, free: 14.08 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.2397, allocations: 1.082 MB / 1.033 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.252e-05/0.2398, allocations: 133.8 kB / 1.033 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002236/0.2401, allocations: 89.08 kB / 1.034 GB, free: 12.65 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.2401, allocations: 40.5 kB / 1.034 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of SimCode: time 9.01e-07/0.2401, allocations: 11.94 kB / 1.034 GB, free: 12.6 MB / 0.9948 GB Notification: Performance of Templates: time 0.3454/0.5855, allocations: 20.66 MB / 1.054 GB, free: 265.1 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.sim & ./Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.9498405968770385]