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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 249.4 MB / 256.7 MB, free: 6.938 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.001224/0.001224, allocations: 177.3 kB / 316 MB, free: 3.539 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.707/1.707, allocations: 205.1 MB / 0.5667 GB, free: 15.68 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.0009554/0.0009555, allocations: 89.73 kB / 0.671 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.536e-06/8.556e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2252, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.766/4.992, allocations: 2.259 GB / 3.143 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/4.992, allocations: 81.08 kB / 3.143 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 7.187/12.18, allocations: 2.038 GB / 5.181 GB, free: 74.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.00027/12.18, allocations: 82.03 kB / 5.181 GB, free: 74.69 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.01935/12.2, allocations: 3.963 MB / 5.185 GB, free: 73.08 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/12.2, allocations: 10.56 kB / 5.185 GB, free: 73.08 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009005/12.21, allocations: 0.9364 MB / 5.186 GB, free: 72.89 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007909/12.22, allocations: 2.365 MB / 5.188 GB, free: 72.33 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/12.22, allocations: 105.2 kB / 5.189 GB, free: 72.32 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/12.22, allocations: 192 kB / 5.189 GB, free: 72.32 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007382/12.22, allocations: 3.68 MB / 5.192 GB, free: 72.31 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007023/12.23, allocations: 3.628 MB / 5.196 GB, free: 71.92 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.935e-05/12.23, allocations: 14.84 kB / 5.196 GB, free: 71.91 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003149/12.23, allocations: 3.438 kB / 5.196 GB, free: 71.91 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001356/12.23, allocations: 143.9 kB / 5.196 GB, free: 71.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02187/12.25, allocations: 16.02 MB / 5.212 GB, free: 62.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004322/12.26, allocations: 3.013 MB / 5.215 GB, free: 62.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002311/12.26, allocations: 1.852 MB / 5.216 GB, free: 62.66 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/12.26, allocations: 1.603 MB / 5.218 GB, free: 60.97 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002395/12.26, allocations: 1.699 MB / 5.22 GB, free: 60.87 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=301): time 4.218e-06/12.26, allocations: 0 / 5.22 GB, free: 60.87 MB / 0.9323 GB Notification: Performance of matching and sorting (n=301): time 0.007939/12.27, allocations: 3.406 MB / 5.223 GB, free: 60.63 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/12.27, allocations: 83.47 kB / 5.223 GB, free: 60.57 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/12.27, allocations: 1.068 MB / 5.224 GB, free: 60.41 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002929/12.27, allocations: 29.89 kB / 5.224 GB, free: 60.38 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008377/12.28, allocations: 0.9077 MB / 5.225 GB, free: 59.85 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009693/12.28, allocations: 0.9887 MB / 5.226 GB, free: 59.19 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/12.28, allocations: 0 / 5.226 GB, free: 59.19 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001468/12.28, allocations: 418.5 kB / 5.226 GB, free: 58.88 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/12.28, allocations: 1.265 MB / 5.228 GB, free: 58.87 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/12.28, allocations: 1.701 MB / 5.229 GB, free: 58.44 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003975/12.28, allocations: 1.743 MB / 5.231 GB, free: 58.38 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/12.28, allocations: 3.562 kB / 5.231 GB, free: 58.38 MB / 0.9323 GB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006955/12.29, allocations: 3.568 MB / 5.234 GB, free: 58.12 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/12.29, allocations: 5.312 kB / 5.234 GB, free: 58.12 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/12.29, allocations: 11.64 kB / 5.234 GB, free: 58.12 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.163e-05/12.29, allocations: 24.58 kB / 5.234 GB, free: 58.12 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003091/12.29, allocations: 0.5989 MB / 5.235 GB, free: 58.08 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.253e-05/12.29, allocations: 27.97 kB / 5.235 GB, free: 58.08 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004118/12.3, allocations: 338.5 kB / 5.235 GB, free: 57.97 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003179/12.3, allocations: 113.7 kB / 5.236 GB, free: 57.97 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.0005709/12.3, allocations: 153 kB / 5.236 GB, free: 57.82 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006406/12.3, allocations: 235.4 kB / 5.236 GB, free: 57.71 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008381/12.31, allocations: 3.59 MB / 5.239 GB, free: 57.52 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.126e-05/12.31, allocations: 29.16 kB / 5.239 GB, free: 57.52 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/12.31, allocations: 0 / 5.239 GB, free: 57.52 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006762/12.32, allocations: 3.24 MB / 5.243 GB, free: 56.93 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01729/12.33, allocations: 7.016 MB / 5.249 GB, free: 54.15 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/12.33, allocations: 2.875 kB / 5.249 GB, free: 54.15 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003481/12.34, allocations: 0.6091 MB / 5.25 GB, free: 54.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.415e-05/12.34, allocations: 16.41 kB / 5.25 GB, free: 54.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003914/12.34, allocations: 39.91 kB / 5.25 GB, free: 54.09 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.952e-05/12.34, allocations: 15.84 kB / 5.25 GB, free: 54.09 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/12.34, allocations: 9.812 kB / 5.25 GB, free: 54.09 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01268/12.35, allocations: 5.755 MB / 5.256 GB, free: 51.62 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003031/12.35, allocations: 0.6716 MB / 5.256 GB, free: 51.22 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001096/12.35, allocations: 14.44 kB / 5.256 GB, free: 51.22 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004009/12.36, allocations: 219.2 kB / 5.257 GB, free: 51.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005085/12.36, allocations: 172.6 kB / 5.257 GB, free: 51.17 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004319/12.36, allocations: 100.3 kB / 5.257 GB, free: 51.15 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.00238/12.36, allocations: 0.8125 MB / 5.258 GB, free: 50.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006851/12.37, allocations: 1.333 MB / 5.259 GB, free: 50.42 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.009553/12.38, allocations: 5.271 MB / 5.264 GB, free: 47.45 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006623/12.38, allocations: 3.17 MB / 5.267 GB, free: 44.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/12.38, allocations: 4 kB / 5.267 GB, free: 44.49 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003203/12.39, allocations: 1.682 MB / 5.269 GB, free: 42.94 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006976/12.39, allocations: 1.015 MB / 5.27 GB, free: 42.23 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/12.41, allocations: 5.92 MB / 5.276 GB, free: 37.55 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004694/12.42, allocations: 2.488 MB / 5.278 GB, free: 35.59 MB / 0.9323 GB Notification: Performance of SimCode: time 1.422e-06/12.42, allocations: 0 / 5.278 GB, free: 35.59 MB / 0.9323 GB Notification: Performance of Templates: time 0.6145/13.03, allocations: 74.42 MB / 5.351 GB, free: 188.6 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