Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.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.001096/0.001096, 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.001112/0.001112, 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.9209/0.9209, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.708/1.708, allocations: 377.9 MB / 0.6236 GB, free: 8.582 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.CO2TransportStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.8116 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.398e-05, allocations: 10.05 kB / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.126/0.1261, allocations: 162.1 MB / 0.9698 GB, free: 15.12 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0122/0.1383, allocations: 9.377 MB / 0.979 GB, free: 5.727 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002181/0.1405, allocations: 103.2 kB / 0.9791 GB, free: 5.625 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.1421, allocations: 0.6476 MB / 0.9797 GB, free: 4.973 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.004574/0.1467, allocations: 2.847 MB / 0.9825 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00287/0.1496, allocations: 1.734 MB / 0.9842 GB, free: 380 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.006809/0.1564, allocations: 7.367 MB / 0.9914 GB, free: 8.984 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003274/0.1597, allocations: 2.236 MB / 0.9936 GB, free: 6.695 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006066/0.1657, allocations: 4.048 MB / 0.9975 GB, free: 2.766 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003084/0.1688, allocations: 2.532 MB / 1 GB, free: 232 kB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0007661/0.1696, allocations: 336 kB / 1 GB, free: 15.89 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.1717, allocations: 0.9553 MB / 1.001 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.001203/0.1729, allocations: 1.582 MB / 1.003 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.001602/0.1745, allocations: 1.372 MB / 1.004 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.003528/0.178, allocations: 3.357 MB / 1.007 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.178, allocations: 0 / 1.007 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.393e-06/0.178, allocations: 4 kB / 1.007 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.666e-05/0.1781, allocations: 0 / 1.007 GB, free: 8.609 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: 709 * Number of variables: 709 Notification: Performance of Generate backend data structure: time 0.005034/0.1831, allocations: 3.803 MB / 1.011 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1832, allocations: 8.031 kB / 1.011 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002563/0.1857, allocations: 1.121 MB / 1.012 GB, free: 3.609 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.1877, allocations: 1.686 MB / 1.014 GB, free: 1.875 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.1878, allocations: 205.4 kB / 1.014 GB, free: 1.672 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004006/0.1882, allocations: 291.9 kB / 1.014 GB, free: 1.387 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002881/0.191, allocations: 2.677 MB / 1.017 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.528e-05/0.1911, allocations: 7.938 kB / 1.017 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.1912, allocations: 115.9 kB / 1.017 GB, free: 14.35 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.892e-05/0.1913, allocations: 141.3 kB / 1.017 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/0.1934, allocations: 1.354 MB / 1.019 GB, free: 12.84 MB / 0.9792 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.008275/0.2017, allocations: 9.113 MB / 1.027 GB, free: 3.52 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.2034, allocations: 1.265 MB / 1.029 GB, free: 2.254 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007753/0.2042, allocations: 0.6482 MB / 1.029 GB, free: 1.605 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003347/0.2045, allocations: 141.9 kB / 1.029 GB, free: 1.469 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009641/0.2055, allocations: 1.039 MB / 1.03 GB, free: 340 kB / 0.9792 GB Notification: Performance of pre-optimization done (n=213): time 4.077e-06/0.2055, allocations: 4 kB / 1.03 GB, free: 336 kB / 0.9792 GB Notification: Performance of matching and sorting (n=213): time 0.002548/0.208, allocations: 1.756 MB / 1.032 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.2081, allocations: 81.34 kB / 1.032 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.2091, allocations: 1.247 MB / 1.033 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.2092, allocations: 69.7 kB / 1.034 GB, free: 13.14 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006465/0.2099, allocations: 1.26 MB / 1.035 GB, free: 11.87 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005973/0.2105, allocations: 0.7746 MB / 1.036 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003806/0.2108, allocations: 406.1 kB / 1.036 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.2109, allocations: 476.8 kB / 1.036 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005796/0.2115, allocations: 409.9 kB / 1.037 GB, free: 9.801 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008823/0.2124, allocations: 1.193 MB / 1.038 GB, free: 8.309 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.2139, allocations: 1.569 MB / 1.039 GB, free: 6.496 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.2139, allocations: 4 kB / 1.039 GB, free: 6.492 MB / 0.9948 GB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002131/0.2161, allocations: 1.785 MB / 1.041 GB, free: 4.688 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 4.017e-05/0.2161, allocations: 37.7 kB / 1.041 GB, free: 4.645 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.2161, allocations: 12 kB / 1.041 GB, free: 4.633 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.2161, allocations: 24 kB / 1.041 GB, free: 4.609 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.2172, allocations: 0.4957 MB / 1.042 GB, free: 4.113 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000158/0.2174, allocations: 39.86 kB / 1.042 GB, free: 4.074 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009632/0.2184, allocations: 198.4 kB / 1.042 GB, free: 3.879 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.2185, allocations: 88 kB / 1.042 GB, free: 3.793 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 1 * 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.0005027/0.219, allocations: 291.9 kB / 1.042 GB, free: 3.496 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002925/0.2193, allocations: 282.7 kB / 1.043 GB, free: 3.219 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/0.2211, allocations: 1.53 MB / 1.044 GB, free: 1.672 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.2211, allocations: 20 kB / 1.044 GB, free: 1.652 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2211, allocations: 3.938 kB / 1.044 GB, free: 1.648 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001398/0.2225, allocations: 1.363 MB / 1.045 GB, free: 228 kB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3512/0.5737, allocations: 3.627 MB / 1.049 GB, free: 127 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/0.5737, allocations: 2.969 kB / 1.049 GB, free: 127 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.5748, allocations: 465.7 kB / 1.049 GB, free: 127 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.95e-05/0.5748, allocations: 14.53 kB / 1.049 GB, free: 127 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.5749, allocations: 57.61 kB / 1.05 GB, free: 127 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/0.575, allocations: 11.16 kB / 1.05 GB, free: 127 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.575, allocations: 6.312 kB / 1.05 GB, free: 127 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.5774, allocations: 2.196 MB / 1.052 GB, free: 126.6 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006468/0.578, allocations: 446.1 kB / 1.052 GB, free: 126.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.5782, allocations: 51.75 kB / 1.052 GB, free: 126.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006853/0.5789, allocations: 61.11 kB / 1.052 GB, free: 126.6 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/0.5791, allocations: 156.6 kB / 1.052 GB, free: 126.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.451e-05/0.5792, allocations: 70.59 kB / 1.052 GB, free: 126.6 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005813/0.5798, allocations: 0.7289 MB / 1.053 GB, free: 126.5 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5798, allocations: 0 / 1.053 GB, free: 126.5 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0014/0.5812, allocations: 0.9534 MB / 1.054 GB, free: 126.5 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mC[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (217): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003813/0.5815, allocations: 231.2 kB / 1.054 GB, free: 126.4 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.5832, allocations: 1.382 MB / 1.056 GB, free: 126.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.5832, allocations: 3 kB / 1.056 GB, free: 126.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007192/0.584, allocations: 0.698 MB / 1.056 GB, free: 126.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/0.5865, allocations: 1.16 MB / 1.057 GB, free: 126.1 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005496/0.592, allocations: 4.848 MB / 1.062 GB, free: 124.2 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.5925, allocations: 0.6319 MB / 1.063 GB, free: 124 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001556/0.594, allocations: 0.6037 MB / 1.063 GB, free: 124 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004742/0.5945, allocations: 198.2 kB / 1.064 GB, free: 124 MB / 0.9948 GB Notification: Performance of SimCode: time 1.703e-06/0.5945, allocations: 2.969 kB / 1.064 GB, free: 124 MB / 0.9948 GB Notification: Performance of Templates: time 0.04821/0.6427, allocations: 45.08 MB / 1.108 GB, free: 118.9 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_CO2TransportStep.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.332645110785961]