Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.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.000883/0.000883, allocations: 82.64 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.0009483/0.0009483, allocations: 181 kB / 24.09 MB, free: 420 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 0.9095/0.9095, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.757/1.757, allocations: 377.9 MB / 0.6239 GB, free: 8.422 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.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rooA.T|rooB.T|rooA.Xi.[0-9,]+.|rooB.Xi.[0-9,]+.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rooA.T|rooB.T|rooA.Xi.[0-9,]+.|rooB.Xi.[0-9,]+.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.306e-05, allocations: 3.625 kB / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1148/0.1148, allocations: 149 MB / 0.9574 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003817/0.1186, allocations: 3.709 MB / 0.9611 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000351/0.1189, allocations: 51.69 kB / 0.9611 GB, free: 8.25 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005912/0.1195, allocations: 309.9 kB / 0.9614 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.121, allocations: 1.379 MB / 0.9628 GB, free: 6.559 MB / 0.9167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.1216, allocations: 0.5586 MB / 0.9633 GB, free: 6 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001897/0.1235, allocations: 3.312 MB / 0.9665 GB, free: 2.676 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006587/0.1242, allocations: 0.8443 MB / 0.9674 GB, free: 1.812 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/0.1259, allocations: 1.722 MB / 0.9691 GB, free: 128 kB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007795/0.1267, allocations: 1.032 MB / 0.9701 GB, free: 15.09 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.1268, allocations: 128 kB / 0.9702 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004281/0.1272, allocations: 383.2 kB / 0.9705 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003138/0.1275, allocations: 0.561 MB / 0.9711 GB, free: 14.02 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.1279, allocations: 0.5341 MB / 0.9716 GB, free: 13.49 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0009335/0.1288, allocations: 1.297 MB / 0.9729 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1288, allocations: 0 / 0.9729 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1288, allocations: 0 / 0.9729 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.1288, allocations: 4 kB / 0.9729 GB, free: 12.18 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.00189/0.1307, allocations: 1.702 MB / 0.9745 GB, free: 10.44 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.1308, allocations: 12.03 kB / 0.9746 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009817/0.1317, allocations: 435.3 kB / 0.975 GB, free: 10 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007083/0.1325, allocations: 0.7448 MB / 0.9757 GB, free: 9.227 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.472e-05/0.1325, allocations: 74 kB / 0.9758 GB, free: 9.152 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.1326, allocations: 100 kB / 0.9759 GB, free: 9.055 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006603/0.1333, allocations: 0.7872 MB / 0.9766 GB, free: 8.184 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.1333, allocations: 3.953 kB / 0.9766 GB, free: 8.18 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.694e-05/0.1334, allocations: 44 kB / 0.9767 GB, free: 8.137 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.661e-05/0.1334, allocations: 58.08 kB / 0.9767 GB, free: 8.078 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004744/0.1339, allocations: 410.6 kB / 0.9771 GB, free: 7.656 MB / 0.9323 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.002684/0.1366, allocations: 2.569 MB / 0.9796 GB, free: 5.043 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005007/0.1371, allocations: 458.8 kB / 0.9801 GB, free: 4.586 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.1373, allocations: 220.4 kB / 0.9803 GB, free: 4.371 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 4.424e-05/0.1374, allocations: 24.64 kB / 0.9803 GB, free: 4.348 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000312/0.1377, allocations: 467.6 kB / 0.9808 GB, free: 3.824 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=76): time 2.074e-06/0.1377, allocations: 0 / 0.9808 GB, free: 3.824 MB / 0.9323 GB Notification: Performance of matching and sorting (n=76): time 0.0006635/0.1383, allocations: 0.5521 MB / 0.9813 GB, free: 3.266 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.1384, allocations: 67.98 kB / 0.9814 GB, free: 3.188 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004278/0.1388, allocations: 0.514 MB / 0.9819 GB, free: 2.656 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.1388, allocations: 41.7 kB / 0.9819 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.139, allocations: 0.5188 MB / 0.9824 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.1392, allocations: 285.5 kB / 0.9827 GB, free: 1.801 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.1393, allocations: 140.2 kB / 0.9828 GB, free: 1.656 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1395, allocations: 0.5663 MB / 0.9834 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.1396, allocations: 93.92 kB / 0.9835 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.1398, allocations: 258.7 kB / 0.9837 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.1401, allocations: 397.1 kB / 0.9841 GB, free: 248 kB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1401, allocations: 0 / 0.9841 GB, free: 248 kB / 0.9323 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0004995/0.1406, allocations: 0.5045 MB / 0.9846 GB, free: 15.73 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1406, allocations: 4 kB / 0.9846 GB, free: 15.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1406, allocations: 4 kB / 0.9846 GB, free: 15.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1406, allocations: 8 kB / 0.9846 GB, free: 15.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.141, allocations: 159.7 kB / 0.9847 GB, free: 15.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.141, allocations: 11.94 kB / 0.9848 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.1412, allocations: 55.91 kB / 0.9848 GB, free: 15.49 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.1413, allocations: 20 kB / 0.9848 GB, free: 15.47 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.000159/0.1414, allocations: 200.4 kB / 0.985 GB, free: 15.27 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.113e-05/0.1415, allocations: 99.53 kB / 0.9851 GB, free: 15.17 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.277e-05/0.1416, allocations: 99.23 kB / 0.9852 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1416, allocations: 8 kB / 0.9852 GB, free: 15.06 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1416, allocations: 3.938 kB / 0.9852 GB, free: 15.05 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004357/0.1421, allocations: 0.6752 MB / 0.9859 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.1432, allocations: 1.276 MB / 0.9871 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1432, allocations: 4.031 kB / 0.9871 GB, free: 12.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.1436, allocations: 179.8 kB / 0.9873 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.1436, allocations: 7.938 kB / 0.9873 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.1437, allocations: 16 kB / 0.9873 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.1437, allocations: 0 / 0.9873 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1437, allocations: 7.984 kB / 0.9873 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006384/0.1443, allocations: 0.7537 MB / 0.9881 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.1445, allocations: 151.3 kB / 0.9882 GB, free: 11.84 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.1445, allocations: 23.98 kB / 0.9882 GB, free: 11.81 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.1448, allocations: 18.44 kB / 0.9882 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.1448, allocations: 48.56 kB / 0.9883 GB, free: 11.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.1448, allocations: 23.92 kB / 0.9883 GB, free: 11.73 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000159/0.145, allocations: 318.7 kB / 0.9886 GB, free: 11.42 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.145, allocations: 0 / 0.9886 GB, free: 11.42 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005689/0.1456, allocations: 375.2 kB / 0.989 GB, free: 11.05 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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 Backend phase and start with SimCode phase: time 0.000138/0.1457, allocations: 131.2 kB / 0.9891 GB, free: 10.91 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003649/0.1461, allocations: 379 kB / 0.9895 GB, free: 10.54 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1461, allocations: 4 kB / 0.9895 GB, free: 10.54 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.1463, allocations: 220.5 kB / 0.9897 GB, free: 10.32 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.1474, allocations: 0.5336 MB / 0.9902 GB, free: 9.793 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.1491, allocations: 1.782 MB / 0.9919 GB, free: 7.965 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.1493, allocations: 261.4 kB / 0.9922 GB, free: 7.688 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003308/0.1496, allocations: 138.7 kB / 0.9923 GB, free: 7.547 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000659/0.1503, allocations: 441.8 kB / 0.9927 GB, free: 7.113 MB / 0.948 GB Notification: Performance of SimCode: time 7.01e-07/0.1503, allocations: 0 / 0.9927 GB, free: 7.113 MB / 0.948 GB Notification: Performance of Templates: time 0.01984/0.1701, allocations: 19.35 MB / 1.012 GB, free: 4.242 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.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: 5.111876835580915]