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.0009364/0.0009364, 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.0008942/0.0008942, allocations: 169 kB / 23.02 MB, free: 1.547 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.8738/0.8738, 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 1.925/1.925, allocations: 429.5 MB / 0.6733 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 178] 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.853e-06/1.853e-06, allocations: 0.6562 kB / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.872e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1196/0.1197, allocations: 136.8 MB / 1.012 GB, free: 13.06 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.006018/0.1257, allocations: 5.76 MB / 1.017 GB, free: 7.285 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004592/0.1261, allocations: 19.81 kB / 1.017 GB, free: 7.266 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005612/0.1267, allocations: 194.5 kB / 1.018 GB, free: 7.074 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.1281, allocations: 0.7535 MB / 1.018 GB, free: 6.316 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.1302, allocations: 0.9774 MB / 1.019 GB, free: 5.336 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001356/0.1315, allocations: 1.364 MB / 1.021 GB, free: 3.965 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006069/0.1321, allocations: 374.4 kB / 1.021 GB, free: 3.594 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.1335, allocations: 0.9423 MB / 1.022 GB, free: 2.648 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005519/0.1341, allocations: 394.8 kB / 1.022 GB, free: 2.262 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 8.378e-05/0.1342, allocations: 52 kB / 1.022 GB, free: 2.211 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.1359, allocations: 1.225 MB / 1.023 GB, free: 0.9844 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.1361, allocations: 163.4 kB / 1.024 GB, free: 0.8242 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.1363, allocations: 255.5 kB / 1.024 GB, free: 0.5742 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.1379, allocations: 1.328 MB / 1.025 GB, free: 15.24 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.138, allocations: 0 / 1.025 GB, free: 15.24 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.273e-06/0.138, allocations: 4 kB / 1.025 GB, free: 15.24 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.138, allocations: 0 / 1.025 GB, free: 15.24 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.001229/0.1392, allocations: 0.9628 MB / 1.026 GB, free: 14.24 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1392, allocations: 8.031 kB / 1.026 GB, free: 14.23 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009666/0.1402, allocations: 239.8 kB / 1.026 GB, free: 14 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/0.1407, allocations: 386.7 kB / 1.027 GB, free: 13.59 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.1407, allocations: 41.69 kB / 1.027 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.1408, allocations: 64.31 kB / 1.027 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007797/0.1415, allocations: 0.8861 MB / 1.028 GB, free: 12.45 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.1416, allocations: 3.938 kB / 1.028 GB, free: 12.45 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.1416, allocations: 28 kB / 1.028 GB, free: 12.42 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.1416, allocations: 12 kB / 1.028 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/0.142, allocations: 261.6 kB / 1.028 GB, free: 12.16 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.008779/0.1508, allocations: 6.099 MB / 1.034 GB, free: 5.961 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.151, allocations: 103.7 kB / 1.034 GB, free: 5.848 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.421e-05/0.1511, allocations: 65.23 kB / 1.034 GB, free: 5.781 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002695/0.1538, allocations: 1.625 MB / 1.036 GB, free: 4.152 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.1538, allocations: 45.62 kB / 1.036 GB, free: 4.098 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=27): time 1.913e-06/0.1538, allocations: 0 / 1.036 GB, free: 4.098 MB / 0.9948 GB Notification: Performance of matching and sorting (n=40): time 0.01982/0.1737, allocations: 8.907 MB / 1.044 GB, free: 11.16 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.1737, allocations: 140.5 kB / 1.045 GB, free: 10.99 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.174, allocations: 394.5 kB / 1.045 GB, free: 10.59 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.1741, allocations: 33.7 kB / 1.045 GB, free: 10.55 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.1742, allocations: 375.2 kB / 1.045 GB, free: 10.18 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 8.001e-05/0.1743, allocations: 146.8 kB / 1.045 GB, free: 10.03 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.1744, allocations: 104 kB / 1.046 GB, free: 9.918 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1745, allocations: 0.5312 MB / 1.046 GB, free: 9.375 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.1747, allocations: 93.25 kB / 1.046 GB, free: 9.285 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.175, allocations: 413.9 kB / 1.047 GB, free: 8.766 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004235/0.1754, allocations: 417.6 kB / 1.047 GB, free: 8.273 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1754, allocations: 4 kB / 1.047 GB, free: 8.27 MB / 1.01 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001091/0.1765, allocations: 0.5486 MB / 1.048 GB, free: 7.707 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1765, allocations: 8 kB / 1.048 GB, free: 7.699 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.1765, allocations: 7.938 kB / 1.048 GB, free: 7.691 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000335/0.1768, allocations: 111.8 kB / 1.048 GB, free: 7.574 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.1771, allocations: 103.8 kB / 1.048 GB, free: 7.473 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.1792, allocations: 4.106 MB / 1.052 GB, free: 3.129 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.1794, allocations: 16 kB / 1.052 GB, free: 3.113 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.1795, allocations: 27.98 kB / 1.052 GB, free: 3.086 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.0001698/0.1796, allocations: 188.4 kB / 1.052 GB, free: 2.891 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.1798, allocations: 75.59 kB / 1.052 GB, free: 2.816 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006681/0.1805, allocations: 0.5198 MB / 1.053 GB, free: 2.25 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1805, allocations: 4 kB / 1.053 GB, free: 2.246 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1805, allocations: 0 / 1.053 GB, free: 2.246 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.1805, allocations: 4 kB / 1.053 GB, free: 2.242 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.1816, allocations: 1.059 MB / 1.054 GB, free: 1.055 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.1816, allocations: 4 kB / 1.054 GB, free: 1.051 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.1818, allocations: 59.91 kB / 1.054 GB, free: 0.9922 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002011/0.182, allocations: 79.59 kB / 1.054 GB, free: 0.9102 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.182, allocations: 20.19 kB / 1.054 GB, free: 0.8906 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3936/0.5756, allocations: 2.077 MB / 1.056 GB, free: 79.97 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.5756, allocations: 5.438 kB / 1.056 GB, free: 79.97 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008003/0.5764, allocations: 0.6118 MB / 1.056 GB, free: 79.56 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.5765, allocations: 38.28 kB / 1.056 GB, free: 79.56 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.5765, allocations: 19.58 kB / 1.056 GB, free: 79.56 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.5767, allocations: 21.2 kB / 1.056 GB, free: 79.56 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.5768, allocations: 36.89 kB / 1.056 GB, free: 79.56 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.5768, allocations: 15.59 kB / 1.057 GB, free: 79.56 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001638/0.5769, allocations: 277.2 kB / 1.057 GB, free: 79.44 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.5769, allocations: 0 / 1.057 GB, free: 79.44 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00177/0.5787, allocations: 0.7075 MB / 1.057 GB, free: 79.44 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.002445/0.5811, allocations: 425.3 kB / 1.058 GB, free: 79.36 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008148/0.582, allocations: 0.6444 MB / 1.059 GB, free: 79 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.582, allocations: 2.875 kB / 1.059 GB, free: 79 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.5822, allocations: 296 kB / 1.059 GB, free: 78.82 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007056/0.5829, allocations: 218.9 kB / 1.059 GB, free: 78.82 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.5842, allocations: 1.046 MB / 1.06 GB, free: 78.18 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.543e-05/0.5843, allocations: 133 kB / 1.06 GB, free: 78.11 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002551/0.5846, allocations: 90.78 kB / 1.06 GB, free: 78.11 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.5846, allocations: 41.77 kB / 1.06 GB, free: 78.1 MB / 1.01 GB Notification: Performance of SimCode: time 1.333e-06/0.5846, allocations: 0 / 1.06 GB, free: 78.1 MB / 1.01 GB Notification: Performance of Templates: time 0.04772/0.6324, allocations: 35.51 MB / 1.095 GB, free: 76.95 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: 9.305280917789787]