Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.0009898/0.0009898, 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.0009457/0.0009457, allocations: 173.3 kB / 23.03 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.9157/0.9157, allocations: 177.2 MB / 203.4 MB, free: 5.629 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.952/1.952, allocations: 429.5 MB / 0.6733 GB, free: 3.988 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.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor") translateModel(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.408e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.114/0.114, allocations: 139 MB / 1.014 GB, free: 10.79 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.00693/0.1209, allocations: 4.524 MB / 1.018 GB, free: 6.254 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.1221, allocations: 51.62 kB / 1.018 GB, free: 6.203 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0008135/0.1229, allocations: 329.5 kB / 1.019 GB, free: 5.879 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.1251, allocations: 1.216 MB / 1.02 GB, free: 4.656 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.1266, allocations: 0.8728 MB / 1.021 GB, free: 3.781 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.003394/0.13, allocations: 4.154 MB / 1.025 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.1315, allocations: 1.121 MB / 1.026 GB, free: 14.47 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002865/0.1344, allocations: 1.991 MB / 1.028 GB, free: 12.49 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.136, allocations: 1.426 MB / 1.029 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000388/0.1364, allocations: 188 kB / 1.029 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009424/0.1373, allocations: 491.2 kB / 1.03 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004394/0.1378, allocations: 0.666 MB / 1.031 GB, free: 9.73 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0008638/0.1386, allocations: 0.7485 MB / 1.031 GB, free: 8.98 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002023/0.1407, allocations: 1.904 MB / 1.033 GB, free: 7.07 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.1407, allocations: 0 / 1.033 GB, free: 7.07 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.034e-06/0.1407, allocations: 0 / 1.033 GB, free: 7.07 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.252e-05/0.1407, allocations: 0 / 1.033 GB, free: 7.07 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: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.002829/0.1436, allocations: 2.209 MB / 1.035 GB, free: 4.812 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1436, allocations: 12.03 kB / 1.035 GB, free: 4.801 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003454/0.1471, allocations: 1.172 MB / 1.036 GB, free: 3.625 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.1484, allocations: 0.9718 MB / 1.037 GB, free: 2.625 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-05/0.1485, allocations: 131.2 kB / 1.037 GB, free: 2.496 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/0.1487, allocations: 159.9 kB / 1.038 GB, free: 2.34 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002594/0.1513, allocations: 1.951 MB / 1.04 GB, free: 308 kB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.539e-05/0.1513, allocations: 3.938 kB / 1.04 GB, free: 304 kB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/0.1515, allocations: 64 kB / 1.04 GB, free: 240 kB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.399e-05/0.1515, allocations: 99.22 kB / 1.04 GB, free: 140 kB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.1539, allocations: 1.717 MB / 1.041 GB, free: 14.41 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005664/0.1596, allocations: 4.621 MB / 1.046 GB, free: 9.711 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002627/0.1622, allocations: 2.471 MB / 1.048 GB, free: 7.234 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.1635, allocations: 0.912 MB / 1.049 GB, free: 6.316 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001855/0.1637, allocations: 65.98 kB / 1.049 GB, free: 6.25 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.1637, allocations: 59.39 kB / 1.049 GB, free: 6.184 MB / 1.01 GB Notification: Performance of pre-optimization done (n=237): time 5.31e-06/0.1637, allocations: 0 / 1.049 GB, free: 6.184 MB / 1.01 GB Notification: Performance of matching and sorting (n=237): time 0.003696/0.1674, allocations: 2.411 MB / 1.052 GB, free: 3.762 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.1674, allocations: 81.34 kB / 1.052 GB, free: 3.668 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006664/0.1681, allocations: 0.7764 MB / 1.053 GB, free: 2.879 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/0.1682, allocations: 65.7 kB / 1.053 GB, free: 2.809 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.1685, allocations: 0.6298 MB / 1.053 GB, free: 2.168 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005364/0.1691, allocations: 0.8483 MB / 1.054 GB, free: 1.312 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005027/0.1696, allocations: 430.8 kB / 1.054 GB, free: 0.8828 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1697, allocations: 0.5199 MB / 1.055 GB, free: 364 kB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3853/0.555, allocations: 0.6105 MB / 1.056 GB, free: 87.33 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.5563, allocations: 0.9125 MB / 1.056 GB, free: 87.11 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/0.5582, allocations: 1.645 MB / 1.058 GB, free: 86.86 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.5582, allocations: 3.312 kB / 1.058 GB, free: 86.86 MB / 1.01 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00268/0.5609, allocations: 2.043 MB / 1.06 GB, free: 86.73 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.5609, allocations: 5.781 kB / 1.06 GB, free: 86.73 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.5609, allocations: 3.031 kB / 1.06 GB, free: 86.73 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/0.5609, allocations: 14.53 kB / 1.06 GB, free: 86.73 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.5626, allocations: 0.5796 MB / 1.061 GB, free: 86.73 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.161e-05/0.5626, allocations: 19.81 kB / 1.061 GB, free: 86.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.5636, allocations: 287.6 kB / 1.061 GB, free: 86.73 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.5638, allocations: 90.62 kB / 1.061 GB, free: 86.73 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (303): * Single equations (assignments): 303 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004539/0.5642, allocations: 276.4 kB / 1.061 GB, free: 86.57 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002999/0.5645, allocations: 223.9 kB / 1.061 GB, free: 86.54 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/0.5671, allocations: 2.072 MB / 1.064 GB, free: 86.41 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.5671, allocations: 23.75 kB / 1.064 GB, free: 86.41 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5671, allocations: 0.9062 kB / 1.064 GB, free: 86.41 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002003/0.5691, allocations: 1.749 MB / 1.065 GB, free: 86.09 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003855/0.5729, allocations: 3.067 MB / 1.068 GB, free: 85.64 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.573, allocations: 2.906 kB / 1.068 GB, free: 85.64 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/0.5744, allocations: 0.491 MB / 1.069 GB, free: 85.64 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003154/0.5747, allocations: 97.58 kB / 1.069 GB, free: 85.62 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/0.5748, allocations: 59.78 kB / 1.069 GB, free: 85.62 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003996/0.5752, allocations: 1.609 MB / 1.07 GB, free: 84.03 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5752, allocations: 7.938 kB / 1.07 GB, free: 84.02 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003598/0.5788, allocations: 2.789 MB / 1.073 GB, free: 83.64 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006554/0.5795, allocations: 455.7 kB / 1.074 GB, free: 83.56 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.5797, allocations: 39.89 kB / 1.074 GB, free: 83.56 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008509/0.5805, allocations: 134.6 kB / 1.074 GB, free: 83.56 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/0.5807, allocations: 141.8 kB / 1.074 GB, free: 83.56 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.5809, allocations: 81.92 kB / 1.074 GB, free: 83.56 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003825/0.5812, allocations: 482.6 kB / 1.074 GB, free: 83.42 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.5812, allocations: 0.8125 kB / 1.074 GB, free: 83.42 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001081/0.5823, allocations: 0.6717 MB / 1.075 GB, free: 83.39 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * 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 (237): * Single equations (assignments): 235 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003602/0.5827, allocations: 216.4 kB / 1.075 GB, free: 83.31 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00233/0.585, allocations: 1.743 MB / 1.077 GB, free: 83.25 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.585, allocations: 0.9375 kB / 1.077 GB, free: 83.25 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001386/0.5864, allocations: 0.9527 MB / 1.078 GB, free: 83.22 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.588, allocations: 0.6314 MB / 1.079 GB, free: 83.19 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.5923, allocations: 3.259 MB / 1.082 GB, free: 82.11 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.5925, allocations: 374.2 kB / 1.082 GB, free: 82.02 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00181/0.5944, allocations: 0.7316 MB / 1.083 GB, free: 81.98 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000656/0.595, allocations: 175.4 kB / 1.083 GB, free: 81.97 MB / 1.01 GB Notification: Performance of SimCode: time 1.763e-06/0.595, allocations: 0 / 1.083 GB, free: 81.97 MB / 1.01 GB Notification: Performance of Templates: time 0.04664/0.6416, allocations: 35.86 MB / 1.118 GB, free: 78.08 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneOpenDoor.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: 8.331547152716666]