Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.001389/0.001389, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001647/0.001647, allocations: 185.3 kB / 24.09 MB, free: 412 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 1.003/1.003, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.724/1.724, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 0.812 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132e-05/1.237e-05, allocations: 3.469 kB / 0.812 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.1189/0.1189, allocations: 153.8 MB / 0.9621 GB, free: 7.047 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01203/0.1309, allocations: 10.83 MB / 0.9727 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.1321, allocations: 75.44 kB / 0.9728 GB, free: 12.12 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0008412/0.133, allocations: 0.4965 MB / 0.9733 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002705/0.1357, allocations: 2.191 MB / 0.9754 GB, free: 9.414 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.1373, allocations: 1.216 MB / 0.9766 GB, free: 8.195 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.004853/0.1422, allocations: 7.024 MB / 0.9835 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002315/0.1445, allocations: 1.893 MB / 0.9853 GB, free: 15.21 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004453/0.1489, allocations: 3.538 MB / 0.9888 GB, free: 11.71 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002475/0.1514, allocations: 2.318 MB / 0.991 GB, free: 9.387 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004206/0.1518, allocations: 340 kB / 0.9913 GB, free: 9.055 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.1534, allocations: 0.7099 MB / 0.992 GB, free: 8.344 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0008561/0.1542, allocations: 1.489 MB / 0.9935 GB, free: 6.852 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.1553, allocations: 1.349 MB / 0.9948 GB, free: 5.5 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002572/0.1578, allocations: 3.337 MB / 0.9981 GB, free: 2.152 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1578, allocations: 4 kB / 0.9981 GB, free: 2.148 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1579, allocations: 0 / 0.9981 GB, free: 2.148 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.886e-05/0.1579, allocations: 0 / 0.9981 GB, free: 2.148 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 760 * Number of variables: 760 Notification: Performance of Generate backend data structure: time 0.004583/0.1625, allocations: 3.784 MB / 1.002 GB, free: 14.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1625, allocations: 12.03 kB / 1.002 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/0.1647, allocations: 1.012 MB / 1.003 GB, free: 13.28 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.1662, allocations: 1.467 MB / 1.004 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.551e-05/0.1663, allocations: 213.4 kB / 1.004 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/0.1666, allocations: 287.9 kB / 1.005 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.1687, allocations: 2.074 MB / 1.007 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.042e-05/0.1688, allocations: 7.984 kB / 1.007 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/0.1689, allocations: 115.9 kB / 1.007 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/0.1691, allocations: 185.9 kB / 1.007 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.1711, allocations: 1.925 MB / 1.009 GB, free: 6.805 MB / 0.9636 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.007082/0.1781, allocations: 6.253 MB / 1.015 GB, free: 500 kB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/0.1805, allocations: 3.302 MB / 1.018 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.1815, allocations: 1.054 MB / 1.019 GB, free: 12.08 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000427/0.1819, allocations: 266.5 kB / 1.019 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002955/0.1822, allocations: 80.53 kB / 1.02 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=399): time 5.5e-06/0.1822, allocations: 0 / 1.02 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of matching and sorting (n=399): time 0.003092/0.1853, allocations: 2.777 MB / 1.022 GB, free: 8.922 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.1853, allocations: 90.55 kB / 1.022 GB, free: 8.82 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007575/0.1861, allocations: 1.126 MB / 1.023 GB, free: 7.688 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.1862, allocations: 93.7 kB / 1.024 GB, free: 7.59 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00043/0.1866, allocations: 1.022 MB / 1.025 GB, free: 6.555 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006859/0.1873, allocations: 1.437 MB / 1.026 GB, free: 5.105 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008789/0.1882, allocations: 0.6617 MB / 1.027 GB, free: 4.434 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.653e-05/0.1883, allocations: 480.7 kB / 1.027 GB, free: 3.961 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006343/0.1889, allocations: 0.5422 MB / 1.028 GB, free: 3.418 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008675/0.1898, allocations: 0.9724 MB / 1.029 GB, free: 2.391 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/0.1915, allocations: 1.869 MB / 1.03 GB, free: 464 kB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.1915, allocations: 4 kB / 1.03 GB, free: 460 kB / 0.9792 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.002475/0.194, allocations: 2.376 MB / 1.033 GB, free: 14.06 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.194, allocations: 11.98 kB / 1.033 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.194, allocations: 4 kB / 1.033 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.1941, allocations: 20.41 kB / 1.033 GB, free: 14.03 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.1957, allocations: 0.7685 MB / 1.033 GB, free: 13.26 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/0.1957, allocations: 23.94 kB / 1.033 GB, free: 13.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.1969, allocations: 297.6 kB / 1.034 GB, free: 12.94 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.1971, allocations: 91.98 kB / 1.034 GB, free: 12.85 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (493): * Single equations (assignments): 493 * 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.0004608/0.1975, allocations: 347.8 kB / 1.034 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003479/0.1979, allocations: 378.4 kB / 1.035 GB, free: 12.13 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/0.2004, allocations: 2.502 MB / 1.037 GB, free: 9.578 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.2004, allocations: 36 kB / 1.037 GB, free: 9.543 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.2004, allocations: 4 kB / 1.037 GB, free: 9.539 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001808/0.2022, allocations: 1.849 MB / 1.039 GB, free: 7.629 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004835/0.207, allocations: 4.369 MB / 1.043 GB, free: 3.191 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.2071, allocations: 0 / 1.043 GB, free: 3.191 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/0.2085, allocations: 0.6475 MB / 1.044 GB, free: 2.543 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002609/0.2087, allocations: 146.9 kB / 1.044 GB, free: 2.387 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/0.2089, allocations: 83.97 kB / 1.044 GB, free: 2.305 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.359/0.5679, allocations: 5.975 MB / 1.05 GB, free: 125.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5679, allocations: 2.781 kB / 1.05 GB, free: 125.2 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003516/0.5714, allocations: 3.153 MB / 1.053 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007232/0.5721, allocations: 0.6062 MB / 1.053 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.5723, allocations: 71.31 kB / 1.054 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000789/0.5731, allocations: 77.78 kB / 1.054 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.5733, allocations: 241 kB / 1.054 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.5734, allocations: 90.81 kB / 1.054 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003681/0.5738, allocations: 0.613 MB / 1.055 GB, free: 124.6 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.5738, allocations: 2.734 kB / 1.055 GB, free: 124.6 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001352/0.5751, allocations: 1.115 MB / 1.056 GB, free: 124.6 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003245/0.5755, allocations: 253.7 kB / 1.056 GB, free: 124.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001798/0.5773, allocations: 1.985 MB / 1.058 GB, free: 124.4 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5773, allocations: 2.938 kB / 1.058 GB, free: 124.4 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.5783, allocations: 1.641 MB / 1.059 GB, free: 123.8 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/0.5804, allocations: 1.084 MB / 1.06 GB, free: 123.8 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004722/0.5851, allocations: 5.144 MB / 1.065 GB, free: 122 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.5855, allocations: 0.6643 MB / 1.066 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001236/0.5868, allocations: 481.7 kB / 1.067 GB, free: 121.8 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/0.5884, allocations: 1.014 MB / 1.068 GB, free: 121.7 MB / 0.9948 GB Notification: Performance of SimCode: time 1.272e-06/0.5884, allocations: 3 kB / 1.068 GB, free: 121.7 MB / 0.9948 GB Notification: Performance of Templates: time 0.0505/0.6389, allocations: 51.23 MB / 1.118 GB, free: 114.1 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.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: 7.504370464012027]