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.512/1.512, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001337/0.001337, allocations: 187.9 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009589/0.000959, allocations: 106.2 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.0004385, allocations: 9.188 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2704, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.412/6.682, allocations: 2.258 GB / 3.159 GB, free: 322.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/6.683, allocations: 89.72 kB / 3.159 GB, free: 322.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.932/14.61, allocations: 2.038 GB / 5.196 GB, free: 8.25 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.294e-06/14.61, allocations: 0 / 5.196 GB, free: 8.25 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004291/14.62, allocations: 87.92 kB / 5.196 GB, free: 8.164 MB / 0.948 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.02069/14.64, allocations: 4.315 MB / 5.201 GB, free: 3.77 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/14.64, allocations: 12.03 kB / 5.201 GB, free: 3.758 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008114/14.64, allocations: 0.8776 MB / 5.201 GB, free: 2.875 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009001/14.65, allocations: 2.335 MB / 5.204 GB, free: 496 kB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003863/14.65, allocations: 250.2 kB / 5.204 GB, free: 244 kB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.7497/15.4, allocations: 324.2 kB / 5.204 GB, free: 88.48 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01317/15.42, allocations: 4.043 MB / 5.208 GB, free: 88.08 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.772e-05/15.42, allocations: 9.219 kB / 5.208 GB, free: 88.08 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004178/15.42, allocations: 132.9 kB / 5.208 GB, free: 88.08 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001702/15.42, allocations: 138.8 kB / 5.208 GB, free: 88.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01099/15.43, allocations: 4.05 MB / 5.212 GB, free: 88.04 MB / 0.948 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.03133/15.46, allocations: 15.62 MB / 5.228 GB, free: 79.67 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0062/15.47, allocations: 3.188 MB / 5.231 GB, free: 79.51 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001648/15.47, allocations: 1.599 MB / 5.232 GB, free: 77.82 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003464/15.47, allocations: 1.666 MB / 5.234 GB, free: 77.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=301): time 6.041e-06/15.47, allocations: 0 / 5.234 GB, free: 77.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=301): time 0.00802/15.48, allocations: 4.335 MB / 5.238 GB, free: 77.45 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.456e-05/15.48, allocations: 88.45 kB / 5.238 GB, free: 77.38 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/15.48, allocations: 1.356 MB / 5.24 GB, free: 77.23 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004379/15.48, allocations: 86.83 kB / 5.24 GB, free: 77.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001186/15.48, allocations: 1.156 MB / 5.241 GB, free: 76.85 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001245/15.48, allocations: 1.029 MB / 5.242 GB, free: 76.32 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/15.48, allocations: 54.44 kB / 5.242 GB, free: 76.32 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001958/15.49, allocations: 417.5 kB / 5.242 GB, free: 76.02 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002119/15.49, allocations: 1.25 MB / 5.243 GB, free: 76.01 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002196/15.49, allocations: 1.711 MB / 5.245 GB, free: 75.57 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002382/15.49, allocations: 1.538 MB / 5.247 GB, free: 75.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/15.49, allocations: 0 / 5.247 GB, free: 75.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=352) (initialization): time 0.00598/15.5, allocations: 3.464 MB / 5.25 GB, free: 75.22 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.526e-05/15.5, allocations: 36.33 kB / 5.25 GB, free: 75.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/15.5, allocations: 10.38 kB / 5.25 GB, free: 75.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.313e-05/15.5, allocations: 20.44 kB / 5.25 GB, free: 75.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002531/15.5, allocations: 0.5817 MB / 5.251 GB, free: 75.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-05/15.5, allocations: 27.88 kB / 5.251 GB, free: 75.19 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00418/15.5, allocations: 428.4 kB / 5.251 GB, free: 75.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003421/15.51, allocations: 100.7 kB / 5.251 GB, free: 75.12 MB / 0.948 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 () * Number of clocked 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.002418/15.51, allocations: 0.7915 MB / 5.252 GB, free: 75 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008926/15.51, allocations: 244.7 kB / 5.252 GB, free: 74.88 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006309/15.51, allocations: 3.449 MB / 5.256 GB, free: 74.71 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/15.51, allocations: 29.16 kB / 5.256 GB, free: 74.71 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/15.51, allocations: 0 / 5.256 GB, free: 74.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004671/15.52, allocations: 3.073 MB / 5.259 GB, free: 74.27 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/15.53, allocations: 7.103 MB / 5.266 GB, free: 73.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/15.53, allocations: 3.688 kB / 5.266 GB, free: 73.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002856/15.54, allocations: 0.5923 MB / 5.266 GB, free: 73.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.154e-05/15.54, allocations: 15.09 kB / 5.266 GB, free: 73.57 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002371/15.54, allocations: 68.34 kB / 5.266 GB, free: 73.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.648e-05/15.54, allocations: 11.66 kB / 5.266 GB, free: 73.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/15.54, allocations: 7.656 kB / 5.266 GB, free: 73.57 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009443/15.55, allocations: 5.502 MB / 5.272 GB, free: 72.85 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002722/15.55, allocations: 0.6734 MB / 5.272 GB, free: 72.63 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007918/15.55, allocations: 58.12 kB / 5.272 GB, free: 72.63 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003465/15.55, allocations: 264.7 kB / 5.273 GB, free: 72.62 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003627/15.56, allocations: 182.4 kB / 5.273 GB, free: 72.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002222/15.56, allocations: 96.66 kB / 5.273 GB, free: 72.62 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001773/15.56, allocations: 1.054 MB / 5.274 GB, free: 72.51 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/15.56, allocations: 0 / 5.274 GB, free: 72.51 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006146/15.56, allocations: 1.535 MB / 5.275 GB, free: 72.44 MB / 0.948 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) * Number of clocked states: 0 () * 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.007997/15.57, allocations: 4.815 MB / 5.28 GB, free: 70.16 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006644/15.58, allocations: 3.181 MB / 5.283 GB, free: 70.02 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/15.58, allocations: 1.688 kB / 5.283 GB, free: 70.02 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002718/15.58, allocations: 1.654 MB / 5.285 GB, free: 70 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007097/15.59, allocations: 1.269 MB / 5.286 GB, free: 69.98 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/15.6, allocations: 8.22 MB / 5.294 GB, free: 66.95 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002172/15.61, allocations: 2.192 MB / 5.296 GB, free: 66.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004853/15.61, allocations: 0.9922 MB / 5.297 GB, free: 66.17 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/15.61, allocations: 236 kB / 5.297 GB, free: 66.16 MB / 0.948 GB Notification: Performance of SimCode: time 2.635e-06/15.61, allocations: 4.344 kB / 5.297 GB, free: 66.16 MB / 0.948 GB Notification: Performance of Templates: time 0.1524/15.76, allocations: 95.81 MB / 5.391 GB, free: 62.12 MB / 0.948 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