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.000943/0.000943, allocations: 72.89 kB / 19.94 MB, free: 4.391 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.0009936/0.0009936, allocations: 173 kB / 23.36 MB, free: 0.9727 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.9119/0.9119, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.31/2.31, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.092e-06/1.092e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.493e-05, allocations: 4.703 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1179/0.1179, allocations: 138.4 MB / 0.9738 GB, free: 3.277 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.007261/0.1252, allocations: 4.628 MB / 0.9783 GB, free: 14.64 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.1263, allocations: 55.56 kB / 0.9783 GB, free: 14.59 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007172/0.127, allocations: 313.7 kB / 0.9786 GB, free: 14.28 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.1291, allocations: 1.223 MB / 0.9798 GB, free: 13.05 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.1305, allocations: 0.861 MB / 0.9807 GB, free: 12.18 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.003322/0.1339, allocations: 4.154 MB / 0.9847 GB, free: 8.016 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.1353, allocations: 1.182 MB / 0.9859 GB, free: 6.824 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.1374, allocations: 1.97 MB / 0.9878 GB, free: 4.863 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/0.1387, allocations: 1.383 MB / 0.9892 GB, free: 3.477 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.1389, allocations: 188 kB / 0.9893 GB, free: 3.293 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007479/0.1397, allocations: 0.4914 MB / 0.9898 GB, free: 2.801 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003659/0.14, allocations: 0.67 MB / 0.9905 GB, free: 2.129 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005631/0.1406, allocations: 0.7367 MB / 0.9912 GB, free: 1.391 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.1421, allocations: 1.908 MB / 0.9931 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1421, allocations: 0 / 0.9931 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1421, allocations: 0 / 0.9931 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.1422, allocations: 0 / 0.9931 GB, free: 15.48 MB / 0.9636 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.002284/0.1444, allocations: 2.039 MB / 0.995 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.1445, allocations: 12.61 kB / 0.9951 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00337/0.1478, allocations: 1.146 MB / 0.9962 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009983/0.1488, allocations: 0.7415 MB / 0.9969 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.291e-05/0.1489, allocations: 127.2 kB / 0.997 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/0.1491, allocations: 160 kB / 0.9972 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.1511, allocations: 1.792 MB / 0.9989 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.1511, allocations: 3.984 kB / 0.9989 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.1512, allocations: 64 kB / 0.999 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.898e-05/0.1513, allocations: 91.28 kB / 0.9991 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.1528, allocations: 1.19 MB / 1 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004446/0.1572, allocations: 3.527 MB / 1.004 GB, free: 4.379 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.1593, allocations: 2.154 MB / 1.006 GB, free: 2.215 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008017/0.1601, allocations: 0.66 MB / 1.006 GB, free: 1.559 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/0.1602, allocations: 69.97 kB / 1.006 GB, free: 1.488 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.1602, allocations: 64.5 kB / 1.007 GB, free: 1.418 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=237): time 3.837e-06/0.1603, allocations: 0 / 1.007 GB, free: 1.418 MB / 0.9636 GB Notification: Performance of matching and sorting (n=237): time 0.002312/0.1626, allocations: 1.528 MB / 1.008 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.1626, allocations: 77.41 kB / 1.008 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005127/0.1631, allocations: 0.6923 MB / 1.009 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.1632, allocations: 65.7 kB / 1.009 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.1635, allocations: 0.4994 MB / 1.009 GB, free: 14.51 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000474/0.1639, allocations: 0.8364 MB / 1.01 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000503/0.1644, allocations: 396.5 kB / 1.011 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1645, allocations: 357.8 kB / 1.011 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005599/0.1651, allocations: 364.6 kB / 1.011 GB, free: 12.55 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006859/0.1658, allocations: 0.6133 MB / 1.012 GB, free: 11.88 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.1672, allocations: 1.211 MB / 1.013 GB, free: 10.59 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.1672, allocations: 0 / 1.013 GB, free: 10.59 MB / 0.9792 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.001722/0.1689, allocations: 1.283 MB / 1.014 GB, free: 9.277 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.169, allocations: 6.812 kB / 1.014 GB, free: 9.273 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.169, allocations: 4 kB / 1.014 GB, free: 9.27 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.169, allocations: 20 kB / 1.014 GB, free: 9.25 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.1707, allocations: 0.6085 MB / 1.015 GB, free: 8.641 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.1708, allocations: 19.92 kB / 1.015 GB, free: 8.621 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.1718, allocations: 282.4 kB / 1.015 GB, free: 8.344 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.1719, allocations: 63.97 kB / 1.015 GB, free: 8.281 MB / 0.9792 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.0004215/0.1723, allocations: 228.2 kB / 1.015 GB, free: 8.047 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.1726, allocations: 163.9 kB / 1.016 GB, free: 7.887 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.1744, allocations: 1.467 MB / 1.017 GB, free: 6.398 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.1744, allocations: 24 kB / 1.017 GB, free: 6.375 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1744, allocations: 0 / 1.017 GB, free: 6.375 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001234/0.1757, allocations: 1.112 MB / 1.018 GB, free: 5.211 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/0.1784, allocations: 2.221 MB / 1.02 GB, free: 2.949 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1784, allocations: 4.062 kB / 1.02 GB, free: 2.945 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/0.18, allocations: 0.5227 MB / 1.021 GB, free: 2.422 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002576/0.1803, allocations: 89.61 kB / 1.021 GB, free: 2.328 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.1804, allocations: 47.97 kB / 1.021 GB, free: 2.281 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004722/0.1809, allocations: 1.069 MB / 1.022 GB, free: 1.16 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1809, allocations: 0 / 1.022 GB, free: 1.16 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002525/0.1834, allocations: 1.973 MB / 1.024 GB, free: 15.16 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000511/0.1839, allocations: 302.3 kB / 1.024 GB, free: 14.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.1841, allocations: 43.94 kB / 1.024 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008229/0.1849, allocations: 131.9 kB / 1.024 GB, free: 14.7 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/0.1851, allocations: 141.7 kB / 1.025 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.1852, allocations: 55.95 kB / 1.025 GB, free: 14.5 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002538/0.1855, allocations: 319.3 kB / 1.025 GB, free: 14.19 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.1855, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001018/0.1865, allocations: 0.6751 MB / 1.026 GB, free: 13.51 MB / 0.9948 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.0003491/0.1868, allocations: 191.9 kB / 1.026 GB, free: 13.32 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00188/0.1887, allocations: 1.259 MB / 1.027 GB, free: 12.05 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.777e-05/0.1887, allocations: 12.75 kB / 1.027 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008941/0.1896, allocations: 0.7246 MB / 1.028 GB, free: 11.31 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.191, allocations: 0.6284 MB / 1.028 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.1945, allocations: 2.928 MB / 1.031 GB, free: 7.723 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.1948, allocations: 366.4 kB / 1.032 GB, free: 7.34 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001385/0.1962, allocations: 377.7 kB / 1.032 GB, free: 6.965 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/0.1976, allocations: 0.5458 MB / 1.032 GB, free: 6.41 MB / 0.9948 GB Notification: Performance of SimCode: time 1.172e-06/0.1976, allocations: 0 / 1.032 GB, free: 6.41 MB / 0.9948 GB Notification: Performance of Templates: time 0.372/0.5697, allocations: 36.72 MB / 1.068 GB, free: 97.65 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 -s gbode -gbm=radauIIA3 -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: 6.502547804731876]