Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CO2SenWes.C|CO2SenEas.C|CO2SenTop.C",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.463/1.463, allocations: 249.3 MB / 261.8 MB, free: 5.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001077, allocations: 180.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00087/0.0008699, allocations: 79.14 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.305e-05/3.309e-05, allocations: 0 / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.25, allocations: 106.3 MB / 0.8918 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.522/5.772, allocations: 2.258 GB / 3.15 GB, free: 87.26 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/5.772, allocations: 90.19 kB / 3.15 GB, free: 87.21 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.875/13.65, allocations: 2.036 GB / 5.186 GB, free: 77.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.665e-06/13.65, allocations: 0 / 5.186 GB, free: 77.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000281/13.65, allocations: 75.56 kB / 5.186 GB, free: 77.19 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: 814 * Number of variables: 814 Notification: Performance of Generate backend data structure: time 0.01482/13.66, allocations: 3.922 MB / 5.19 GB, free: 75.41 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/13.66, allocations: 16.7 kB / 5.19 GB, free: 75.41 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006613/13.67, allocations: 0.8779 MB / 5.191 GB, free: 75.21 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006837/13.68, allocations: 2.326 MB / 5.193 GB, free: 74.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000191/13.68, allocations: 245.2 kB / 5.193 GB, free: 74.29 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000914/13.68, allocations: 326.4 kB / 5.194 GB, free: 74.18 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009049/13.69, allocations: 3.954 MB / 5.197 GB, free: 71.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.792e-05/13.69, allocations: 3.5 kB / 5.197 GB, free: 71.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003678/13.69, allocations: 132 kB / 5.198 GB, free: 71.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/13.69, allocations: 137.6 kB / 5.198 GB, free: 71.78 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006364/13.69, allocations: 3.919 MB / 5.201 GB, free: 69.42 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.01976/13.71, allocations: 15.62 MB / 5.217 GB, free: 52.61 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00378/13.72, allocations: 3.123 MB / 5.22 GB, free: 49.48 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002364/13.72, allocations: 1.803 MB / 5.222 GB, free: 47.68 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/13.72, allocations: 1.596 MB / 5.223 GB, free: 45.75 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002465/13.72, allocations: 1.625 MB / 5.225 GB, free: 44.09 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=301): time 7.454e-06/13.72, allocations: 7.281 kB / 5.225 GB, free: 44.08 MB / 0.9323 GB Notification: Performance of matching and sorting (n=301): time 0.005371/13.73, allocations: 3 MB / 5.228 GB, free: 41.04 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/13.73, allocations: 81.78 kB / 5.228 GB, free: 40.94 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/13.73, allocations: 1.346 MB / 5.229 GB, free: 39.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002645/13.73, allocations: 81.7 kB / 5.229 GB, free: 39.51 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001114/13.73, allocations: 1.156 MB / 5.23 GB, free: 38.34 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007646/13.73, allocations: 1.032 MB / 5.231 GB, free: 37.29 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/13.73, allocations: 56 kB / 5.231 GB, free: 37.24 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001373/13.73, allocations: 420 kB / 5.232 GB, free: 36.82 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/13.74, allocations: 1.2 MB / 5.233 GB, free: 35.62 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/13.74, allocations: 1.665 MB / 5.234 GB, free: 33.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/13.74, allocations: 1.496 MB / 5.236 GB, free: 32.28 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/13.74, allocations: 4 kB / 5.236 GB, free: 32.27 MB / 0.9323 GB Notification: Performance of matching and sorting (n=352) (initialization): time 0.004978/13.74, allocations: 3.363 MB / 5.239 GB, free: 28.86 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.727e-05/13.74, allocations: 41.69 kB / 5.239 GB, free: 28.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/13.74, allocations: 12.09 kB / 5.239 GB, free: 28.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.305e-05/13.74, allocations: 23.94 kB / 5.239 GB, free: 28.78 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/13.75, allocations: 0.5812 MB / 5.24 GB, free: 28.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.079e-05/13.75, allocations: 23.94 kB / 5.24 GB, free: 28.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003377/13.75, allocations: 417.2 kB / 5.24 GB, free: 27.77 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002262/13.75, allocations: 104 kB / 5.24 GB, free: 27.66 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (351): * Single equations (assignments): 350 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004842/13.75, allocations: 264.2 kB / 5.241 GB, free: 27.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004816/13.75, allocations: 261 kB / 5.241 GB, free: 27.14 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005398/13.76, allocations: 3.345 MB / 5.244 GB, free: 23.75 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/13.76, allocations: 28 kB / 5.244 GB, free: 23.72 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/13.76, allocations: 0 / 5.244 GB, free: 23.72 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00365/13.76, allocations: 2.986 MB / 5.247 GB, free: 20.62 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/13.77, allocations: 7.002 MB / 5.254 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/13.77, allocations: 0 / 5.254 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002518/13.77, allocations: 0.5972 MB / 5.255 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.332e-05/13.77, allocations: 12 kB / 5.255 GB, free: 12.84 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001846/13.77, allocations: 75.97 kB / 5.255 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/13.77, allocations: 15.94 kB / 5.255 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/13.77, allocations: 7.984 kB / 5.255 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006431/13.78, allocations: 5.365 MB / 5.26 GB, free: 7.203 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002176/13.78, allocations: 0.6731 MB / 5.261 GB, free: 6.508 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005713/13.78, allocations: 59.98 kB / 5.261 GB, free: 6.449 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002672/13.79, allocations: 267.4 kB / 5.261 GB, free: 6.188 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003334/13.79, allocations: 182 kB / 5.261 GB, free: 6.008 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001949/13.79, allocations: 95.95 kB / 5.261 GB, free: 5.914 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001538/13.79, allocations: 1.035 MB / 5.262 GB, free: 4.887 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.6e-07/13.79, allocations: 3.938 kB / 5.262 GB, free: 4.883 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005472/13.79, allocations: 1.525 MB / 5.264 GB, free: 3.355 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volTop.dynBal.mC[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (301): * Single equations (assignments): 299 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007129/13.8, allocations: 4.832 MB / 5.268 GB, free: 14.17 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0058/13.81, allocations: 3.086 MB / 5.271 GB, free: 11.04 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/13.81, allocations: 0 / 5.271 GB, free: 11.04 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002542/13.81, allocations: 1.607 MB / 5.273 GB, free: 9.434 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00729/13.82, allocations: 1.269 MB / 5.274 GB, free: 8.184 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/13.83, allocations: 5.856 MB / 5.28 GB, free: 2.324 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001886/13.83, allocations: 2.191 MB / 5.282 GB, free: 108 kB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003893/13.84, allocations: 0.9901 MB / 5.283 GB, free: 15.14 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008815/13.84, allocations: 243.4 kB / 5.283 GB, free: 14.9 MB / 0.9636 GB Notification: Performance of SimCode: time 1.001e-06/13.84, allocations: 0 / 5.283 GB, free: 14.9 MB / 0.9636 GB Notification: Performance of Templates: time 0.791/14.63, allocations: 105.9 MB / 5.387 GB, free: 120.5 MB / 0.9636 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches