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.001233/0.001233, allocations: 81.86 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.001512/0.001512, allocations: 181 kB / 24.09 MB, free: 416 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.869/0.869, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.721/1.721, 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.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.513e-06/1.513e-06, allocations: 0 / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.562e-05/1.713e-05, allocations: 2.312 kB / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.1412/0.1412, allocations: 159.1 MB / 0.9674 GB, free: 1.836 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01102/0.1522, allocations: 9.323 MB / 0.9765 GB, free: 8.496 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.1536, allocations: 103.2 kB / 0.9766 GB, free: 8.395 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.1548, allocations: 0.6438 MB / 0.9772 GB, free: 7.746 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.004142/0.159, allocations: 2.851 MB / 0.98 GB, free: 4.879 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002494/0.1615, allocations: 1.734 MB / 0.9817 GB, free: 3.141 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.005086/0.1666, allocations: 7.369 MB / 0.9889 GB, free: 11.75 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00189/0.1684, allocations: 2.236 MB / 0.9911 GB, free: 9.461 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00405/0.1725, allocations: 4.046 MB / 0.995 GB, free: 5.535 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001983/0.1745, allocations: 2.532 MB / 0.9975 GB, free: 2.996 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003192/0.1748, allocations: 336 kB / 0.9978 GB, free: 2.668 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.176, allocations: 0.9477 MB / 0.9987 GB, free: 1.719 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0008518/0.1769, allocations: 1.594 MB / 1 GB, free: 124 kB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.1781, allocations: 1.368 MB / 1.002 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.002339/0.1804, allocations: 3.361 MB / 1.005 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1804, allocations: 0 / 1.005 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1804, allocations: 0 / 1.005 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.309e-05/0.1804, allocations: 3.938 kB / 1.005 GB, free: 11.37 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.00402/0.1845, allocations: 3.814 MB / 1.009 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1845, allocations: 8.031 kB / 1.009 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002356/0.1868, allocations: 1.109 MB / 1.01 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.1884, allocations: 1.6 MB / 1.011 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.362e-05/0.1885, allocations: 209.4 kB / 1.011 GB, free: 4.516 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002558/0.1888, allocations: 291.9 kB / 1.012 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.1909, allocations: 2.477 MB / 1.014 GB, free: 1.516 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.871e-05/0.1909, allocations: 4 kB / 1.014 GB, free: 1.512 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/0.191, allocations: 115.9 kB / 1.014 GB, free: 1.398 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.166e-05/0.1911, allocations: 145.2 kB / 1.014 GB, free: 1.254 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.1926, allocations: 1.095 MB / 1.016 GB, free: 132 kB / 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.006782/0.1994, allocations: 9.08 MB / 1.024 GB, free: 6.844 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.2006, allocations: 1.144 MB / 1.025 GB, free: 5.695 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005379/0.2011, allocations: 0.5582 MB / 1.026 GB, free: 5.137 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002842/0.2014, allocations: 156.7 kB / 1.026 GB, free: 4.988 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007393/0.2021, allocations: 0.9644 MB / 1.027 GB, free: 3.926 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=213): time 3.116e-06/0.2022, allocations: 0 / 1.027 GB, free: 3.926 MB / 0.9792 GB Notification: Performance of matching and sorting (n=213): time 0.001991/0.2041, allocations: 1.513 MB / 1.029 GB, free: 2.41 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.2042, allocations: 85.28 kB / 1.029 GB, free: 2.316 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007991/0.205, allocations: 1.227 MB / 1.03 GB, free: 1.066 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 9.292e-05/0.2051, allocations: 69.69 kB / 1.03 GB, free: 0.9922 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005815/0.2057, allocations: 1.268 MB / 1.031 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003907/0.206, allocations: 0.7862 MB / 1.032 GB, free: 14.92 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003658/0.2064, allocations: 417.9 kB / 1.032 GB, free: 14.5 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.036e-05/0.2065, allocations: 476.8 kB / 1.033 GB, free: 14.03 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.2069, allocations: 309.9 kB / 1.033 GB, free: 13.72 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006855/0.2075, allocations: 1.111 MB / 1.034 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.2089, allocations: 1.417 MB / 1.036 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.2089, allocations: 0 / 1.036 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001541/0.2104, allocations: 1.601 MB / 1.037 GB, free: 9.027 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.2105, allocations: 41.69 kB / 1.037 GB, free: 8.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.2105, allocations: 12 kB / 1.037 GB, free: 8.969 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.2105, allocations: 24 kB / 1.037 GB, free: 8.945 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009563/0.2115, allocations: 0.4958 MB / 1.038 GB, free: 8.453 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.2115, allocations: 27.88 kB / 1.038 GB, free: 8.426 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007245/0.2122, allocations: 198.3 kB / 1.038 GB, free: 8.23 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.2123, allocations: 71.98 kB / 1.038 GB, free: 8.16 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.0004499/0.2128, allocations: 295.9 kB / 1.038 GB, free: 7.859 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/0.2131, allocations: 282.7 kB / 1.039 GB, free: 7.582 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/0.2151, allocations: 1.362 MB / 1.04 GB, free: 6.203 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.2151, allocations: 31.92 kB / 1.04 GB, free: 6.172 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2151, allocations: 0 / 1.04 GB, free: 6.172 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001416/0.2165, allocations: 1.199 MB / 1.041 GB, free: 4.91 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004384/0.2209, allocations: 3.069 MB / 1.044 GB, free: 1.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.2209, allocations: 0 / 1.044 GB, free: 1.75 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/0.2223, allocations: 467.7 kB / 1.045 GB, free: 1.293 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.2223, allocations: 8 kB / 1.045 GB, free: 1.285 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.2224, allocations: 55.97 kB / 1.045 GB, free: 1.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.347e-06/0.2224, allocations: 8 kB / 1.045 GB, free: 1.223 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2224, allocations: 4 kB / 1.045 GB, free: 1.219 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3749/0.5973, allocations: 1.959 MB / 1.046 GB, free: 129.1 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009281/0.5982, allocations: 425.2 kB / 1.047 GB, free: 129.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/0.5984, allocations: 49.14 kB / 1.047 GB, free: 129.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006939/0.5991, allocations: 50.67 kB / 1.047 GB, free: 129.1 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.5993, allocations: 164.5 kB / 1.047 GB, free: 129.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.387e-05/0.5994, allocations: 57.45 kB / 1.047 GB, free: 129.1 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004498/0.5998, allocations: 0.6693 MB / 1.048 GB, free: 128.9 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.5998, allocations: 0 / 1.048 GB, free: 128.9 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001525/0.6013, allocations: 0.9555 MB / 1.049 GB, free: 128.9 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.0003357/0.6017, allocations: 241.9 kB / 1.049 GB, free: 128.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00124/0.6029, allocations: 1.212 MB / 1.05 GB, free: 128.7 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6029, allocations: 1.062 kB / 1.05 GB, free: 128.7 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005462/0.6035, allocations: 0.6247 MB / 1.051 GB, free: 128.7 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/0.6058, allocations: 1.156 MB / 1.052 GB, free: 128.6 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004818/0.6106, allocations: 4.831 MB / 1.057 GB, free: 126.6 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.611, allocations: 0.6293 MB / 1.057 GB, free: 126.5 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001082/0.6121, allocations: 392.1 kB / 1.058 GB, free: 126.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001491/0.6136, allocations: 0.912 MB / 1.059 GB, free: 126.4 MB / 0.9948 GB Notification: Performance of SimCode: time 1.153e-06/0.6136, allocations: 0 / 1.059 GB, free: 126.4 MB / 0.9948 GB Notification: Performance of Templates: time 0.05062/0.6642, allocations: 46.52 MB / 1.104 GB, free: 121.7 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.157466781325638]