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.001009/0.001009, allocations: 93.06 kB / 19.65 MB, free: 276 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.001021/0.001021, allocations: 165 kB / 23.01 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.8888/0.8888, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.976/1.976, allocations: 429.5 MB / 0.6732 GB, free: 4.043 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.693e-06/1.693e-06, allocations: 0 / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.02e-05, allocations: 3.438 kB / 0.8781 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.12/0.12, allocations: 139 MB / 1.014 GB, free: 10.84 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.006513/0.1265, allocations: 4.528 MB / 1.018 GB, free: 6.297 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000779/0.1273, allocations: 51.62 kB / 1.018 GB, free: 6.246 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0007238/0.128, allocations: 325.6 kB / 1.019 GB, free: 5.926 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001916/0.1299, allocations: 1.212 MB / 1.02 GB, free: 4.707 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.1313, allocations: 0.8727 MB / 1.021 GB, free: 3.832 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.002991/0.1342, allocations: 4.157 MB / 1.025 GB, free: 15.66 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009732/0.1352, allocations: 1.125 MB / 1.026 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001793/0.137, allocations: 1.885 MB / 1.028 GB, free: 12.65 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.1382, allocations: 1.414 MB / 1.029 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002005/0.1384, allocations: 188 kB / 1.029 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.1395, allocations: 0.4954 MB / 1.03 GB, free: 10.55 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003803/0.1399, allocations: 0.6738 MB / 1.03 GB, free: 9.875 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005511/0.1404, allocations: 0.7445 MB / 1.031 GB, free: 9.129 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.1419, allocations: 1.927 MB / 1.033 GB, free: 7.195 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1419, allocations: 4 kB / 1.033 GB, free: 7.191 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1419, allocations: 4 kB / 1.033 GB, free: 7.188 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.892e-05/0.1419, allocations: 0 / 1.033 GB, free: 7.188 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.002499/0.1444, allocations: 2.225 MB / 1.035 GB, free: 4.914 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1445, allocations: 8.031 kB / 1.035 GB, free: 4.906 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003493/0.148, allocations: 1.169 MB / 1.036 GB, free: 3.734 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.1494, allocations: 1.089 MB / 1.037 GB, free: 2.617 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.302e-05/0.1495, allocations: 135.2 kB / 1.038 GB, free: 2.484 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/0.1497, allocations: 152 kB / 1.038 GB, free: 2.336 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002442/0.1521, allocations: 1.962 MB / 1.04 GB, free: 292 kB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.1522, allocations: 8 kB / 1.04 GB, free: 284 kB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002804/0.1524, allocations: 60 kB / 1.04 GB, free: 224 kB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-05/0.1525, allocations: 95.27 kB / 1.04 GB, free: 128 kB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.1548, allocations: 1.721 MB / 1.041 GB, free: 14.4 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005428/0.1603, allocations: 4.625 MB / 1.046 GB, free: 9.691 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002585/0.1629, allocations: 2.475 MB / 1.048 GB, free: 7.211 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.1641, allocations: 0.9043 MB / 1.049 GB, free: 6.301 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.1642, allocations: 69.97 kB / 1.049 GB, free: 6.23 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.1643, allocations: 59.39 kB / 1.049 GB, free: 6.164 MB / 1.01 GB Notification: Performance of pre-optimization done (n=237): time 3.417e-06/0.1643, allocations: 0 / 1.049 GB, free: 6.164 MB / 1.01 GB Notification: Performance of matching and sorting (n=237): time 0.003807/0.1681, allocations: 2.411 MB / 1.052 GB, free: 3.742 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.1681, allocations: 85.33 kB / 1.052 GB, free: 3.645 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006088/0.1687, allocations: 0.7842 MB / 1.053 GB, free: 2.848 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.1688, allocations: 65.7 kB / 1.053 GB, free: 2.777 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.1691, allocations: 0.6337 MB / 1.053 GB, free: 2.133 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004509/0.1696, allocations: 0.8405 MB / 1.054 GB, free: 1.285 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005199/0.1701, allocations: 434.8 kB / 1.055 GB, free: 0.8516 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1702, allocations: 0.516 MB / 1.055 GB, free: 336 kB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4126/0.5828, allocations: 0.6027 MB / 1.056 GB, free: 77.05 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.5841, allocations: 0.9234 MB / 1.056 GB, free: 76.82 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/0.5863, allocations: 1.644 MB / 1.058 GB, free: 76.57 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.5863, allocations: 0 / 1.058 GB, free: 76.57 MB / 1.01 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.002905/0.5892, allocations: 2.046 MB / 1.06 GB, free: 76.45 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.5892, allocations: 6.75 kB / 1.06 GB, free: 76.45 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.5892, allocations: 2.906 kB / 1.06 GB, free: 76.45 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.324e-05/0.5892, allocations: 15.56 kB / 1.06 GB, free: 76.45 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.5909, allocations: 0.5817 MB / 1.061 GB, free: 76.45 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.38e-05/0.5909, allocations: 23.67 kB / 1.061 GB, free: 76.45 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.5921, allocations: 284.2 kB / 1.061 GB, free: 76.45 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.5923, allocations: 89.38 kB / 1.061 GB, free: 76.45 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.0005264/0.5928, allocations: 277.7 kB / 1.061 GB, free: 76.29 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003785/0.5932, allocations: 223.1 kB / 1.062 GB, free: 76.26 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002924/0.5961, allocations: 2.08 MB / 1.064 GB, free: 76.13 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.5961, allocations: 22.78 kB / 1.064 GB, free: 76.13 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.5961, allocations: 0.8438 kB / 1.064 GB, free: 76.13 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00206/0.5982, allocations: 1.744 MB / 1.065 GB, free: 75.81 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003888/0.6021, allocations: 3.076 MB / 1.068 GB, free: 75.36 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.6021, allocations: 1.562 kB / 1.068 GB, free: 75.36 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/0.6035, allocations: 0.4896 MB / 1.069 GB, free: 75.36 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000329/0.6038, allocations: 98.84 kB / 1.069 GB, free: 75.34 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/0.604, allocations: 58.56 kB / 1.069 GB, free: 75.34 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000396/0.6044, allocations: 1.614 MB / 1.071 GB, free: 73.75 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6044, allocations: 4.969 kB / 1.071 GB, free: 73.74 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003604/0.608, allocations: 2.791 MB / 1.073 GB, free: 73.36 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007003/0.6087, allocations: 459.3 kB / 1.074 GB, free: 73.28 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.6089, allocations: 39.53 kB / 1.074 GB, free: 73.28 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008924/0.6098, allocations: 139 kB / 1.074 GB, free: 73.28 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/0.61, allocations: 144.3 kB / 1.074 GB, free: 73.28 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/0.6101, allocations: 77.41 kB / 1.074 GB, free: 73.28 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003965/0.6105, allocations: 480.1 kB / 1.075 GB, free: 73.14 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.6105, allocations: 1.781 kB / 1.075 GB, free: 73.14 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001151/0.6116, allocations: 0.6781 MB / 1.075 GB, free: 73.11 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.0003969/0.612, allocations: 216.1 kB / 1.075 GB, free: 73.03 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002548/0.6146, allocations: 1.745 MB / 1.077 GB, free: 72.97 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6146, allocations: 1.812 kB / 1.077 GB, free: 72.97 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/0.6161, allocations: 0.9444 MB / 1.078 GB, free: 72.94 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/0.6177, allocations: 0.632 MB / 1.079 GB, free: 72.91 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00474/0.6224, allocations: 3.263 MB / 1.082 GB, free: 71.83 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.6228, allocations: 375.2 kB / 1.082 GB, free: 71.74 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002101/0.6249, allocations: 0.7358 MB / 1.083 GB, free: 71.71 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007199/0.6256, allocations: 173.2 kB / 1.083 GB, free: 71.7 MB / 1.01 GB Notification: Performance of SimCode: time 2.304e-06/0.6256, allocations: 1.188 kB / 1.083 GB, free: 71.7 MB / 1.01 GB Notification: Performance of Templates: time 0.04215/0.6677, allocations: 33.94 MB / 1.116 GB, free: 68.25 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.316428591962904]