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.0009583/0.0009583, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.000957/0.000957, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9164/0.9164, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.786/1.786, allocations: 377.8 MB / 0.6236 GB, free: 8.566 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.783e-06/1.783e-06, allocations: 0 / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.711e-05, allocations: 3.719 kB / 0.8115 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.1307/0.1308, allocations: 156.6 MB / 0.9645 GB, free: 4.605 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01291/0.1437, allocations: 10.92 MB / 0.9752 GB, free: 9.656 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.1452, allocations: 75.44 kB / 0.9752 GB, free: 9.582 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.1463, allocations: 0.4965 MB / 0.9757 GB, free: 9.082 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003285/0.1495, allocations: 2.179 MB / 0.9778 GB, free: 6.891 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.1515, allocations: 1.212 MB / 0.979 GB, free: 5.676 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.00554/0.1571, allocations: 7.028 MB / 0.9859 GB, free: 14.62 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/0.1592, allocations: 1.893 MB / 0.9877 GB, free: 12.68 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003265/0.1625, allocations: 3.068 MB / 0.9907 GB, free: 9.605 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002857/0.1654, allocations: 2.358 MB / 0.993 GB, free: 7.27 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0005106/0.1659, allocations: 344 kB / 0.9934 GB, free: 6.934 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.1675, allocations: 0.8033 MB / 0.9941 GB, free: 6.129 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.1686, allocations: 1.504 MB / 0.9956 GB, free: 4.621 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.001558/0.1701, allocations: 1.357 MB / 0.9969 GB, free: 3.262 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.003232/0.1734, allocations: 3.388 MB / 1 GB, free: 15.86 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1734, allocations: 0 / 1 GB, free: 15.86 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1734, allocations: 0 / 1 GB, free: 15.86 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.085e-05/0.1734, allocations: 0 / 1 GB, free: 15.86 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: 760 * Number of variables: 760 Notification: Performance of Generate backend data structure: time 0.005087/0.1785, allocations: 3.796 MB / 1.004 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1785, allocations: 12.03 kB / 1.004 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002695/0.1812, allocations: 1.114 MB / 1.005 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/0.1834, allocations: 1.714 MB / 1.007 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.1835, allocations: 205.4 kB / 1.007 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000302/0.1838, allocations: 280 kB / 1.007 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00291/0.1868, allocations: 2.351 MB / 1.009 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.232e-05/0.1868, allocations: 3.953 kB / 1.009 GB, free: 6.145 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001904/0.187, allocations: 115.9 kB / 1.01 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001224/0.1871, allocations: 185.9 kB / 1.01 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003294/0.1904, allocations: 2.407 MB / 1.012 GB, free: 3.426 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.00834/0.1988, allocations: 6.388 MB / 1.018 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.2021, allocations: 3.564 MB / 1.022 GB, free: 9.371 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.2036, allocations: 1.234 MB / 1.023 GB, free: 8.133 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004957/0.2041, allocations: 207 kB / 1.023 GB, free: 7.93 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.373e-05/0.2042, allocations: 76.53 kB / 1.023 GB, free: 7.844 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=399): time 5.23e-06/0.2042, allocations: 4 kB / 1.023 GB, free: 7.84 MB / 0.9792 GB Notification: Performance of matching and sorting (n=399): time 0.004596/0.2088, allocations: 3.234 MB / 1.026 GB, free: 4.574 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.2088, allocations: 98.48 kB / 1.027 GB, free: 4.465 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.21, allocations: 1.162 MB / 1.028 GB, free: 3.297 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001657/0.2101, allocations: 93.7 kB / 1.028 GB, free: 3.199 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006512/0.2108, allocations: 1.015 MB / 1.029 GB, free: 2.172 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008103/0.2116, allocations: 1.422 MB / 1.03 GB, free: 0.7383 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006663/0.2123, allocations: 0.6619 MB / 1.031 GB, free: 68 kB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2124, allocations: 480.7 kB / 1.031 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.2135, allocations: 0.722 MB / 1.032 GB, free: 14.87 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.2148, allocations: 1.141 MB / 1.033 GB, free: 13.68 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002724/0.2175, allocations: 2.217 MB / 1.035 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.2175, allocations: 0 / 1.035 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.003822/0.2214, allocations: 2.763 MB / 1.038 GB, free: 8.617 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.2214, allocations: 8 kB / 1.038 GB, free: 8.609 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.2214, allocations: 4 kB / 1.038 GB, free: 8.605 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.265e-05/0.2214, allocations: 20 kB / 1.038 GB, free: 8.586 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0019/0.2233, allocations: 0.7763 MB / 1.039 GB, free: 7.809 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.18e-05/0.2234, allocations: 19.94 kB / 1.039 GB, free: 7.789 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.2247, allocations: 313.7 kB / 1.039 GB, free: 7.48 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/0.2249, allocations: 124 kB / 1.039 GB, free: 7.359 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.0006098/0.2255, allocations: 355.8 kB / 1.04 GB, free: 7 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004391/0.226, allocations: 374.4 kB / 1.04 GB, free: 6.633 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003715/0.2297, allocations: 2.807 MB / 1.043 GB, free: 3.777 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/0.2297, allocations: 36 kB / 1.043 GB, free: 3.742 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.2297, allocations: 11.98 kB / 1.043 GB, free: 3.73 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002695/0.2324, allocations: 2.154 MB / 1.045 GB, free: 1.516 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3879/0.6203, allocations: 5.053 MB / 1.05 GB, free: 126.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.6203, allocations: 3.031 kB / 1.05 GB, free: 126.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001601/0.6219, allocations: 0.6575 MB / 1.05 GB, free: 126.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003564/0.6222, allocations: 141.4 kB / 1.05 GB, free: 126.5 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002039/0.6224, allocations: 82.98 kB / 1.051 GB, free: 126.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/0.6241, allocations: 6.044 MB / 1.056 GB, free: 120.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.6241, allocations: 0.5938 kB / 1.056 GB, free: 120.7 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004353/0.6285, allocations: 3.632 MB / 1.06 GB, free: 120.3 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.6295, allocations: 0.6664 MB / 1.061 GB, free: 120.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/0.6297, allocations: 66.41 kB / 1.061 GB, free: 120.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009348/0.6307, allocations: 92.44 kB / 1.061 GB, free: 120.2 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002604/0.6309, allocations: 240.4 kB / 1.061 GB, free: 120.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/0.6311, allocations: 112.4 kB / 1.061 GB, free: 120.2 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006441/0.6317, allocations: 0.6799 MB / 1.062 GB, free: 120.1 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6317, allocations: 2.625 kB / 1.062 GB, free: 120.1 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001596/0.6333, allocations: 1.118 MB / 1.063 GB, free: 120 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.0004129/0.6337, allocations: 262.3 kB / 1.063 GB, free: 119.9 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002875/0.6366, allocations: 2.327 MB / 1.065 GB, free: 119.8 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6366, allocations: 0 / 1.065 GB, free: 119.8 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001582/0.6382, allocations: 1.781 MB / 1.067 GB, free: 119.3 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/0.6407, allocations: 1.073 MB / 1.068 GB, free: 119.2 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005539/0.6462, allocations: 5.25 MB / 1.073 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006555/0.6468, allocations: 0.6622 MB / 1.074 GB, free: 117.3 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002423/0.6493, allocations: 1.101 MB / 1.075 GB, free: 117.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007029/0.65, allocations: 244.7 kB / 1.075 GB, free: 117.2 MB / 0.9948 GB Notification: Performance of SimCode: time 1.232e-06/0.65, allocations: 0 / 1.075 GB, free: 117.2 MB / 0.9948 GB Notification: Performance of Templates: time 0.05062/0.7006, allocations: 47.17 MB / 1.121 GB, free: 110.4 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: 9.024310552049428]