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.001483/0.001483, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001554/0.001554, allocations: 173 kB / 24.06 MB, free: 452 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.9047/0.9047, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.008/2.008, allocations: 429.5 MB / 0.6743 GB, free: 3.902 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.353e-06/1.353e-06, allocations: 0.6562 kB / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.129e-05, allocations: 4.984 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ControlVolumeCondensation): time 0.1136/0.1137, allocations: 134.2 MB / 1.01 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.004624/0.1183, allocations: 5.715 MB / 1.016 GB, free: 9.586 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.1185, allocations: 23.81 kB / 1.016 GB, free: 9.562 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004549/0.1189, allocations: 194.4 kB / 1.016 GB, free: 9.371 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0009354/0.1199, allocations: 0.7418 MB / 1.017 GB, free: 8.625 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.1211, allocations: 0.9774 MB / 1.018 GB, free: 7.645 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0008465/0.1219, allocations: 1.367 MB / 1.019 GB, free: 6.27 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003677/0.1223, allocations: 370.4 kB / 1.02 GB, free: 5.902 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009698/0.1232, allocations: 0.9384 MB / 1.021 GB, free: 4.961 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003831/0.1236, allocations: 398.8 kB / 1.021 GB, free: 4.57 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 5.532e-05/0.1237, allocations: 52 kB / 1.021 GB, free: 4.52 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.1249, allocations: 1.229 MB / 1.022 GB, free: 3.289 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.1251, allocations: 167.4 kB / 1.022 GB, free: 3.125 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.1252, allocations: 251.4 kB / 1.023 GB, free: 2.879 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.1263, allocations: 1.328 MB / 1.024 GB, free: 1.547 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1263, allocations: 0 / 1.024 GB, free: 1.547 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1263, allocations: 0 / 1.024 GB, free: 1.547 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.1263, allocations: 0 / 1.024 GB, free: 1.547 MB / 0.9792 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.001008/0.1273, allocations: 0.9705 MB / 1.025 GB, free: 0.5391 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.1273, allocations: 16.03 kB / 1.025 GB, free: 0.5234 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006188/0.128, allocations: 231.8 kB / 1.025 GB, free: 304 kB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.1283, allocations: 382.8 kB / 1.025 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.1284, allocations: 41.69 kB / 1.025 GB, free: 15.85 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.37e-05/0.1284, allocations: 60.3 kB / 1.026 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006176/0.129, allocations: 0.8508 MB / 1.026 GB, free: 14.79 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.1291, allocations: 7.922 kB / 1.026 GB, free: 14.79 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.838e-05/0.1291, allocations: 24 kB / 1.026 GB, free: 14.76 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.1291, allocations: 16 kB / 1.026 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002509/0.1294, allocations: 210.6 kB / 1.027 GB, free: 14.54 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.00694/0.1363, allocations: 5.354 MB / 1.032 GB, free: 9.102 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.1365, allocations: 91.7 kB / 1.032 GB, free: 9 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.422e-05/0.1365, allocations: 52.12 kB / 1.032 GB, free: 8.945 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002414/0.139, allocations: 1.313 MB / 1.033 GB, free: 7.629 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.139, allocations: 41.56 kB / 1.033 GB, free: 7.578 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=27): time 1.322e-06/0.139, allocations: 0 / 1.033 GB, free: 7.578 MB / 0.9948 GB Notification: Performance of matching and sorting (n=40): time 0.01734/0.1563, allocations: 7.048 MB / 1.04 GB, free: 0.5 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.1564, allocations: 136.5 kB / 1.04 GB, free: 344 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.1566, allocations: 386.4 kB / 1.041 GB, free: 15.94 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.1566, allocations: 33.7 kB / 1.041 GB, free: 15.9 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.1568, allocations: 375.1 kB / 1.041 GB, free: 15.53 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.055e-05/0.1569, allocations: 146.7 kB / 1.041 GB, free: 15.39 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.157, allocations: 111.9 kB / 1.041 GB, free: 15.27 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1571, allocations: 0.5273 MB / 1.042 GB, free: 14.73 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.415e-05/0.1572, allocations: 77.25 kB / 1.042 GB, free: 14.65 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.1574, allocations: 392.2 kB / 1.042 GB, free: 14.16 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/0.1577, allocations: 390.1 kB / 1.043 GB, free: 13.7 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1578, allocations: 4 kB / 1.043 GB, free: 13.69 MB / 1.01 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006981/0.1584, allocations: 0.5002 MB / 1.043 GB, free: 13.18 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1585, allocations: 12 kB / 1.043 GB, free: 13.16 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1585, allocations: 4 kB / 1.043 GB, free: 13.16 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002924/0.1588, allocations: 115.2 kB / 1.043 GB, free: 13.04 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.159, allocations: 111.8 kB / 1.043 GB, free: 12.93 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.1609, allocations: 4.029 MB / 1.047 GB, free: 8.676 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.1611, allocations: 27.98 kB / 1.047 GB, free: 8.648 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.1611, allocations: 16.12 kB / 1.047 GB, free: 8.633 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.0001472/0.1613, allocations: 200.4 kB / 1.048 GB, free: 8.426 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.1614, allocations: 79.67 kB / 1.048 GB, free: 8.348 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000601/0.162, allocations: 0.5044 MB / 1.048 GB, free: 7.801 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.162, allocations: 8 kB / 1.048 GB, free: 7.793 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.162, allocations: 3.984 kB / 1.048 GB, free: 7.789 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.162, allocations: 0 / 1.048 GB, free: 7.789 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.1632, allocations: 1.056 MB / 1.049 GB, free: 6.602 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.1632, allocations: 4 kB / 1.049 GB, free: 6.598 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.1633, allocations: 55.91 kB / 1.049 GB, free: 6.543 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001831/0.1635, allocations: 76.19 kB / 1.049 GB, free: 6.465 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.1635, allocations: 11.98 kB / 1.049 GB, free: 6.453 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.1646, allocations: 2.057 MB / 1.051 GB, free: 4.285 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1646, allocations: 4 kB / 1.051 GB, free: 4.281 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005656/0.1651, allocations: 0.5963 MB / 1.052 GB, free: 3.586 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.1652, allocations: 47.73 kB / 1.052 GB, free: 3.539 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.1652, allocations: 16.06 kB / 1.052 GB, free: 3.523 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.1654, allocations: 15.98 kB / 1.052 GB, free: 3.508 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.1654, allocations: 39.83 kB / 1.052 GB, free: 3.469 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.1655, allocations: 15.94 kB / 1.052 GB, free: 3.453 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001347/0.1656, allocations: 255 kB / 1.052 GB, free: 3.203 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.1656, allocations: 0 / 1.052 GB, free: 3.203 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001828/0.1674, allocations: 0.7105 MB / 1.053 GB, free: 2.492 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.002061/0.1695, allocations: 430.6 kB / 1.053 GB, free: 2.062 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000637/0.1701, allocations: 0.6157 MB / 1.054 GB, free: 1.414 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1701, allocations: 0 / 1.054 GB, free: 1.414 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.1703, allocations: 285.9 kB / 1.054 GB, free: 1.113 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006511/0.171, allocations: 228.7 kB / 1.054 GB, free: 0.8984 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3448/0.5158, allocations: 1.036 MB / 1.055 GB, free: 83.66 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.346e-05/0.5159, allocations: 130.2 kB / 1.056 GB, free: 83.59 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003063/0.5162, allocations: 83.08 kB / 1.056 GB, free: 83.58 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003346/0.5165, allocations: 272.3 kB / 1.056 GB, free: 83.53 MB / 1.01 GB Notification: Performance of SimCode: time 1.453e-06/0.5165, allocations: 0 / 1.056 GB, free: 83.53 MB / 1.01 GB Notification: Performance of Templates: time 0.04122/0.5577, allocations: 35.54 MB / 1.091 GB, free: 82.58 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.220882332883775]