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.0009462/0.0009462, allocations: 83.58 kB / 20.45 MB, free: 4.113 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.0009725/0.0009725, allocations: 161 kB / 23.82 MB, free: 0.7461 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.8915/0.8915, allocations: 177.1 MB / 204.2 MB, free: 5.25 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.859/1.859, allocations: 377.8 MB / 0.6236 GB, free: 8.508 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 2.515e-06/2.515e-06, allocations: 0 / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.813e-05/3.065e-05, allocations: 4.703 kB / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.1462/0.1463, allocations: 162.1 MB / 0.9698 GB, free: 15.09 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01323/0.1595, allocations: 9.386 MB / 0.979 GB, free: 5.688 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002424/0.1619, allocations: 99.25 kB / 0.9791 GB, free: 5.59 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.1635, allocations: 0.64 MB / 0.9797 GB, free: 4.945 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.00504/0.1685, allocations: 2.843 MB / 0.9825 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003015/0.1716, allocations: 1.734 MB / 0.9842 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.007508/0.1791, allocations: 7.361 MB / 0.9914 GB, free: 8.965 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003363/0.1824, allocations: 2.24 MB / 0.9936 GB, free: 6.672 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005875/0.1883, allocations: 3.599 MB / 0.9971 GB, free: 3.141 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003789/0.1921, allocations: 2.587 MB / 0.9996 GB, free: 0.5703 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0006721/0.1928, allocations: 344 kB / 0.9999 GB, free: 240 kB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002203/0.195, allocations: 1.057 MB / 1.001 GB, free: 15.18 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.001365/0.1963, allocations: 1.601 MB / 1.003 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.002137/0.1985, allocations: 1.392 MB / 1.004 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.004248/0.2027, allocations: 3.423 MB / 1.007 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2027, allocations: 4 kB / 1.007 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2027, allocations: 0 / 1.007 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.791e-05/0.2028, allocations: 0 / 1.007 GB, free: 8.738 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.005548/0.2083, allocations: 3.842 MB / 1.011 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.2084, allocations: 8.031 kB / 1.011 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003129/0.2115, allocations: 1.195 MB / 1.012 GB, free: 3.625 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00262/0.2141, allocations: 1.754 MB / 1.014 GB, free: 1.82 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.2143, allocations: 205.4 kB / 1.014 GB, free: 1.617 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003172/0.2146, allocations: 280 kB / 1.014 GB, free: 1.344 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003308/0.2179, allocations: 2.669 MB / 1.017 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.919e-05/0.2179, allocations: 11.89 kB / 1.017 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/0.2181, allocations: 123.9 kB / 1.017 GB, free: 14.3 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.2182, allocations: 141.3 kB / 1.017 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.2205, allocations: 1.358 MB / 1.019 GB, free: 12.79 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.009505/0.23, allocations: 9.126 MB / 1.027 GB, free: 3.453 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.2318, allocations: 1.277 MB / 1.029 GB, free: 2.172 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008752/0.2327, allocations: 0.6482 MB / 1.029 GB, free: 1.527 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004676/0.2332, allocations: 201.9 kB / 1.03 GB, free: 1.332 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.2342, allocations: 1.035 MB / 1.031 GB, free: 204 kB / 0.9792 GB Notification: Performance of pre-optimization done (n=213): time 3.968e-06/0.2343, allocations: 0 / 1.031 GB, free: 204 kB / 0.9792 GB Notification: Performance of matching and sorting (n=213): time 0.002835/0.2371, allocations: 1.756 MB / 1.032 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.2371, allocations: 77.34 kB / 1.032 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.2383, allocations: 1.172 MB / 1.033 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001212/0.2384, allocations: 65.7 kB / 1.034 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009819/0.2394, allocations: 1.194 MB / 1.035 GB, free: 11.88 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005769/0.24, allocations: 0.7668 MB / 1.035 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004012/0.2404, allocations: 373.2 kB / 1.036 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2405, allocations: 476.8 kB / 1.036 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005981/0.2411, allocations: 389.5 kB / 1.037 GB, free: 9.875 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008314/0.2419, allocations: 0.9774 MB / 1.038 GB, free: 8.695 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.2433, allocations: 1.3 MB / 1.039 GB, free: 7.254 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.2433, allocations: 0 / 1.039 GB, free: 7.254 MB / 0.9948 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.002114/0.2454, allocations: 1.616 MB / 1.04 GB, free: 5.617 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.2455, allocations: 42.52 kB / 1.04 GB, free: 5.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.2455, allocations: 8.062 kB / 1.04 GB, free: 5.562 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.2455, allocations: 24 kB / 1.04 GB, free: 5.539 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.2466, allocations: 455.3 kB / 1.041 GB, free: 5.094 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.309e-05/0.2466, allocations: 27.92 kB / 1.041 GB, free: 5.066 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.2478, allocations: 166.7 kB / 1.041 GB, free: 4.902 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.2479, allocations: 79.98 kB / 1.041 GB, free: 4.824 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (258): * Single equations (assignments): 257 * 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.0005654/0.2484, allocations: 272.1 kB / 1.041 GB, free: 4.547 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003087/0.2488, allocations: 274.7 kB / 1.042 GB, free: 4.277 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/0.2508, allocations: 1.522 MB / 1.043 GB, free: 2.738 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.2508, allocations: 24 kB / 1.043 GB, free: 2.715 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/0.2508, allocations: 3.938 kB / 1.043 GB, free: 2.711 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001568/0.2524, allocations: 1.359 MB / 1.045 GB, free: 1.289 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4063/0.6587, allocations: 3.64 MB / 1.048 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.6587, allocations: 5 kB / 1.048 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.6599, allocations: 461.8 kB / 1.049 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.865e-05/0.6599, allocations: 11.88 kB / 1.049 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.6601, allocations: 55.91 kB / 1.049 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.6601, allocations: 14.94 kB / 1.049 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6601, allocations: 3.969 kB / 1.049 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00272/0.6628, allocations: 2.185 MB / 1.051 GB, free: 126.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007496/0.6635, allocations: 452.4 kB / 1.051 GB, free: 126.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.6637, allocations: 45.88 kB / 1.051 GB, free: 126.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007402/0.6645, allocations: 59.95 kB / 1.051 GB, free: 126.5 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.6647, allocations: 161.1 kB / 1.051 GB, free: 126.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.019e-05/0.6648, allocations: 70.3 kB / 1.052 GB, free: 126.5 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000624/0.6654, allocations: 0.7036 MB / 1.052 GB, free: 126.3 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6654, allocations: 0.625 kB / 1.052 GB, free: 126.3 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001526/0.6669, allocations: 0.946 MB / 1.053 GB, free: 126.3 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.000407/0.6673, allocations: 234.9 kB / 1.053 GB, free: 126.3 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001719/0.669, allocations: 1.312 MB / 1.055 GB, free: 126.1 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.669, allocations: 0 / 1.055 GB, free: 126.1 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007861/0.6698, allocations: 0.7027 MB / 1.055 GB, free: 126.1 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/0.6726, allocations: 1.157 MB / 1.056 GB, free: 126 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005628/0.6782, allocations: 4.841 MB / 1.061 GB, free: 124 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.6787, allocations: 0.6307 MB / 1.062 GB, free: 123.9 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001819/0.6805, allocations: 0.5817 MB / 1.062 GB, free: 123.9 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005246/0.681, allocations: 189.9 kB / 1.063 GB, free: 123.9 MB / 0.9948 GB Notification: Performance of SimCode: time 1.973e-06/0.681, allocations: 0 / 1.063 GB, free: 123.9 MB / 0.9948 GB Notification: Performance of Templates: time 0.05303/0.7341, allocations: 42.65 MB / 1.104 GB, free: 119.4 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.614210376050323]