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.503/1.503, allocations: 249.5 MB / 257 MB, free: 6.93 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.001095/0.001095, allocations: 183.4 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0008778/0.0008779, allocations: 92.61 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.634e-05/1.637e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2121, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.702/5.914, allocations: 2.259 GB / 3.144 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/5.915, allocations: 89.31 kB / 3.144 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.797/13.71, allocations: 2.014 GB / 5.158 GB, free: 72.97 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.703e-06/13.71, allocations: 0 / 5.158 GB, free: 72.97 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002824/13.71, allocations: 86.97 kB / 5.158 GB, free: 72.96 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.01748/13.73, allocations: 3.923 MB / 5.161 GB, free: 71.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.41e-05/13.73, allocations: 13.75 kB / 5.161 GB, free: 71.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007903/13.74, allocations: 0.8699 MB / 5.162 GB, free: 71.31 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007653/13.75, allocations: 2.321 MB / 5.165 GB, free: 70.82 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/13.75, allocations: 106.5 kB / 5.165 GB, free: 70.82 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008517/13.75, allocations: 194.5 kB / 5.165 GB, free: 70.82 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008105/13.75, allocations: 3.565 MB / 5.168 GB, free: 70.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006578/13.76, allocations: 3.511 MB / 5.172 GB, free: 70.42 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.869e-05/13.76, allocations: 14.16 kB / 5.172 GB, free: 70.42 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003137/13.76, allocations: 3.25 kB / 5.172 GB, free: 70.42 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/13.76, allocations: 142.2 kB / 5.172 GB, free: 70.41 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.0198/13.78, allocations: 15.25 MB / 5.187 GB, free: 61.88 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004237/13.79, allocations: 3.413 MB / 5.19 GB, free: 61.42 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002188/13.79, allocations: 1.744 MB / 5.192 GB, free: 61.39 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/13.79, allocations: 1.611 MB / 5.193 GB, free: 59.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002254/13.79, allocations: 1.597 MB / 5.195 GB, free: 59.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=301): time 4.659e-06/13.79, allocations: 0 / 5.195 GB, free: 59.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=301): time 0.006145/13.8, allocations: 3.121 MB / 5.198 GB, free: 59.36 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/13.8, allocations: 87.48 kB / 5.198 GB, free: 59.29 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002092/13.8, allocations: 1.059 MB / 5.199 GB, free: 59.13 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002657/13.8, allocations: 28.3 kB / 5.199 GB, free: 59.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001246/13.8, allocations: 1.17 MB / 5.2 GB, free: 58.57 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008863/13.8, allocations: 0.982 MB / 5.201 GB, free: 57.91 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/13.8, allocations: 0 / 5.201 GB, free: 57.91 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001595/13.8, allocations: 419.4 kB / 5.202 GB, free: 57.61 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/13.8, allocations: 1.205 MB / 5.203 GB, free: 57.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/13.81, allocations: 1.646 MB / 5.204 GB, free: 57.18 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003314/13.81, allocations: 1.627 MB / 5.206 GB, free: 57.13 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/13.81, allocations: 2.656 kB / 5.206 GB, free: 57.13 MB / 0.9323 GB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006196/13.82, allocations: 3.4 MB / 5.209 GB, free: 56.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.128e-05/13.82, allocations: 37.27 kB / 5.209 GB, free: 56.87 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/13.82, allocations: 7.406 kB / 5.209 GB, free: 56.87 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.364e-05/13.82, allocations: 22.56 kB / 5.209 GB, free: 56.87 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/13.82, allocations: 0.5993 MB / 5.21 GB, free: 56.87 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.67e-05/13.82, allocations: 27.42 kB / 5.21 GB, free: 56.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003599/13.82, allocations: 347.2 kB / 5.21 GB, free: 56.75 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002973/13.82, allocations: 111.7 kB / 5.21 GB, free: 56.75 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.0005721/13.82, allocations: 156.2 kB / 5.211 GB, free: 56.64 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006982/13.82, allocations: 228.1 kB / 5.211 GB, free: 56.53 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006101/13.83, allocations: 3.382 MB / 5.214 GB, free: 56.35 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/13.83, allocations: 29.38 kB / 5.214 GB, free: 56.35 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/13.83, allocations: 0 / 5.214 GB, free: 56.35 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004508/13.83, allocations: 3.096 MB / 5.217 GB, free: 55.91 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 postOpt removeSimpleEquations (simulation): time 0.01252/13.85, allocations: 6.944 MB / 5.224 GB, free: 55.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/13.85, allocations: 6.625 kB / 5.224 GB, free: 55.04 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002647/13.85, allocations: 0.5991 MB / 5.225 GB, free: 55.02 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.577e-05/13.85, allocations: 15.03 kB / 5.225 GB, free: 55.02 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002117/13.85, allocations: 55.47 kB / 5.225 GB, free: 55.01 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-05/13.85, allocations: 17.38 kB / 5.225 GB, free: 55 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/13.85, allocations: 3.031 kB / 5.225 GB, free: 55 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008541/13.86, allocations: 5.494 MB / 5.23 GB, free: 54.29 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002619/13.86, allocations: 0.6672 MB / 5.231 GB, free: 54.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005983/13.86, allocations: 14.48 kB / 5.231 GB, free: 54.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002759/13.86, allocations: 216 kB / 5.231 GB, free: 54.02 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002992/13.87, allocations: 183.8 kB / 5.231 GB, free: 54.01 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002127/13.87, allocations: 106.7 kB / 5.231 GB, free: 54.01 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001367/13.87, allocations: 0.8052 MB / 5.232 GB, free: 53.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/13.87, allocations: 0 / 5.232 GB, free: 53.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004587/13.87, allocations: 1.317 MB / 5.233 GB, free: 53.74 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.007597/13.88, allocations: 5.252 MB / 5.238 GB, free: 51.37 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005546/13.88, allocations: 3.074 MB / 5.241 GB, free: 50.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/13.88, allocations: 2.297 kB / 5.241 GB, free: 50.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002218/13.89, allocations: 1.607 MB / 5.243 GB, free: 49.81 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006087/13.89, allocations: 1.079 MB / 5.244 GB, free: 49.61 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/13.9, allocations: 5.757 MB / 5.25 GB, free: 47.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001684/13.91, allocations: 2.195 MB / 5.252 GB, free: 46.49 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00414/13.91, allocations: 0.986 MB / 5.253 GB, free: 46.37 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009611/13.91, allocations: 242.7 kB / 5.253 GB, free: 46.34 MB / 0.9323 GB Notification: Performance of SimCode: time 1.223e-06/13.91, allocations: 3.812 kB / 5.253 GB, free: 46.34 MB / 0.9323 GB Notification: Performance of Templates: time 0.1012/14.01, allocations: 67.09 MB / 5.318 GB, free: 2.004 MB / 0.9323 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