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.000967/0.000967, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009782/0.0009782, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.959/0.959, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.802/1.802, allocations: 377.9 MB / 0.6247 GB, free: 8.391 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.212e-06/1.212e-06, allocations: 0 / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.748e-05, allocations: 3.531 kB / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 0.1252/0.1252, allocations: 159.1 MB / 0.9681 GB, free: 1.816 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01199/0.1372, allocations: 9.326 MB / 0.9772 GB, free: 8.473 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.1388, allocations: 99.25 kB / 0.9773 GB, free: 8.375 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.14, allocations: 0.6438 MB / 0.978 GB, free: 7.727 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003967/0.144, allocations: 2.851 MB / 0.9808 GB, free: 4.859 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.1466, allocations: 1.734 MB / 0.9824 GB, free: 3.121 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.005778/0.1524, allocations: 7.371 MB / 0.9896 GB, free: 11.73 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002205/0.1546, allocations: 2.236 MB / 0.9918 GB, free: 9.441 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004551/0.1591, allocations: 4.051 MB / 0.9958 GB, free: 5.516 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/0.1613, allocations: 2.528 MB / 0.9983 GB, free: 2.98 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003041/0.1616, allocations: 336 kB / 0.9986 GB, free: 2.652 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.163, allocations: 0.9514 MB / 0.9995 GB, free: 1.699 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0009843/0.164, allocations: 1.586 MB / 1.001 GB, free: 112 kB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.1651, allocations: 1.368 MB / 1.002 GB, free: 14.74 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.002631/0.1678, allocations: 3.365 MB / 1.006 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1678, allocations: 0 / 1.006 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.11e-07/0.1678, allocations: 0 / 1.006 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.438e-05/0.1678, allocations: 4 kB / 1.006 GB, free: 11.36 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.004405/0.1722, allocations: 3.806 MB / 1.009 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1722, allocations: 8.031 kB / 1.009 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002477/0.1747, allocations: 1.125 MB / 1.011 GB, free: 6.352 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001644/0.1764, allocations: 1.596 MB / 1.012 GB, free: 4.707 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.803e-05/0.1765, allocations: 205.4 kB / 1.012 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002724/0.1767, allocations: 287.9 kB / 1.013 GB, free: 4.223 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.179, allocations: 2.477 MB / 1.015 GB, free: 1.508 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.674e-05/0.179, allocations: 7.938 kB / 1.015 GB, free: 1.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001674/0.1792, allocations: 119.9 kB / 1.015 GB, free: 1.383 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.24e-05/0.1793, allocations: 137.3 kB / 1.015 GB, free: 1.246 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.1806, allocations: 1.091 MB / 1.016 GB, free: 128 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.006831/0.1874, allocations: 9.088 MB / 1.025 GB, free: 6.828 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.1886, allocations: 1.147 MB / 1.026 GB, free: 5.68 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005578/0.1892, allocations: 0.5544 MB / 1.027 GB, free: 5.125 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002953/0.1895, allocations: 145.9 kB / 1.027 GB, free: 4.984 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007441/0.1902, allocations: 0.9604 MB / 1.028 GB, free: 3.926 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=213): time 3.506e-06/0.1902, allocations: 0 / 1.028 GB, free: 3.926 MB / 0.9792 GB Notification: Performance of matching and sorting (n=213): time 0.001916/0.1922, allocations: 1.517 MB / 1.029 GB, free: 2.406 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.1922, allocations: 77.41 kB / 1.029 GB, free: 2.32 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007969/0.193, allocations: 1.235 MB / 1.031 GB, free: 1.062 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 9.441e-05/0.1931, allocations: 61.7 kB / 1.031 GB, free: 0.9961 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005938/0.1937, allocations: 1.276 MB / 1.032 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004087/0.1941, allocations: 0.7823 MB / 1.033 GB, free: 14.92 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003968/0.1945, allocations: 413.9 kB / 1.033 GB, free: 14.51 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.1946, allocations: 480.8 kB / 1.034 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003798/0.195, allocations: 313.9 kB / 1.034 GB, free: 13.72 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007278/0.1957, allocations: 1.118 MB / 1.035 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.1969, allocations: 1.397 MB / 1.036 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.1969, allocations: 4 kB / 1.036 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001635/0.1986, allocations: 1.609 MB / 1.038 GB, free: 9.027 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.1986, allocations: 33.7 kB / 1.038 GB, free: 8.988 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.1986, allocations: 16 kB / 1.038 GB, free: 8.973 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.1986, allocations: 23.94 kB / 1.038 GB, free: 8.949 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.1996, allocations: 0.492 MB / 1.038 GB, free: 8.457 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.1997, allocations: 31.92 kB / 1.038 GB, free: 8.426 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008288/0.2005, allocations: 198.3 kB / 1.039 GB, free: 8.23 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.705e-05/0.2006, allocations: 72 kB / 1.039 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.0003862/0.201, allocations: 291.9 kB / 1.039 GB, free: 7.863 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002647/0.2012, allocations: 282.6 kB / 1.039 GB, free: 7.586 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.2027, allocations: 1.366 MB / 1.041 GB, free: 6.203 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.2028, allocations: 23.94 kB / 1.041 GB, free: 6.18 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2028, allocations: 4 kB / 1.041 GB, free: 6.176 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001074/0.2038, allocations: 1.195 MB / 1.042 GB, free: 4.918 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003319/0.2072, allocations: 3.069 MB / 1.045 GB, free: 1.758 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.2072, allocations: 4 kB / 1.045 GB, free: 1.754 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.2082, allocations: 463.7 kB / 1.045 GB, free: 1.301 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.2082, allocations: 12 kB / 1.045 GB, free: 1.289 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.549e-05/0.2083, allocations: 59.97 kB / 1.045 GB, free: 1.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/0.2083, allocations: 8 kB / 1.045 GB, free: 1.223 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.2083, allocations: 4.062 kB / 1.045 GB, free: 1.219 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3954/0.6037, allocations: 1.964 MB / 1.047 GB, free: 129.1 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008735/0.6046, allocations: 415.7 kB / 1.048 GB, free: 129.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.6048, allocations: 46.11 kB / 1.048 GB, free: 129.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007244/0.6055, allocations: 54.22 kB / 1.048 GB, free: 129.1 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/0.6057, allocations: 160.6 kB / 1.048 GB, free: 129.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.749e-05/0.6058, allocations: 53.77 kB / 1.048 GB, free: 129.1 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004465/0.6062, allocations: 0.6708 MB / 1.049 GB, free: 128.9 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6062, allocations: 0 / 1.049 GB, free: 128.9 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001483/0.6077, allocations: 0.9573 MB / 1.05 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.0003258/0.608, allocations: 239.7 kB / 1.05 GB, free: 128.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.6093, allocations: 1.212 MB / 1.051 GB, free: 128.7 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6093, allocations: 2.719 kB / 1.051 GB, free: 128.7 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005516/0.6099, allocations: 0.6249 MB / 1.052 GB, free: 128.6 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/0.6123, allocations: 1.154 MB / 1.053 GB, free: 128.6 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004801/0.6171, 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.0003897/0.6175, allocations: 0.6286 MB / 1.058 GB, free: 126.5 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001113/0.6186, allocations: 386.5 kB / 1.058 GB, free: 126.4 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001472/0.6201, allocations: 0.9155 MB / 1.059 GB, free: 126.4 MB / 0.9948 GB Notification: Performance of SimCode: time 1.853e-06/0.6201, allocations: 3.5 kB / 1.059 GB, free: 126.4 MB / 0.9948 GB Notification: Performance of Templates: time 0.05263/0.6727, allocations: 47.27 MB / 1.105 GB, free: 121.2 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.4082239009439945]