Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.781/1.781, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009325/0.0009326, allocations: 191 kB / 490.8 MB, free: 1.953 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.109/1.109, allocations: 221.3 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008759/0.0008759, allocations: 101.2 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.372e-06/6.392e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1848, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.936/3.12, allocations: 1.982 GB / 3.194 GB, free: 353.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/3.121, allocations: 90.39 kB / 3.194 GB, free: 353.5 MB / 1.151 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd: time 5.559/8.68, allocations: 2.138 GB / 5.332 GB, free: 125.9 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0001648/8.68, allocations: 78 kB / 5.332 GB, free: 125.9 MB / 1.214 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.01141/8.691, allocations: 3.637 MB / 5.336 GB, free: 125.2 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/8.691, allocations: 5.812 kB / 5.336 GB, free: 125.2 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005801/8.697, allocations: 0.9037 MB / 5.337 GB, free: 125 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004615/8.702, allocations: 2.226 MB / 5.339 GB, free: 124.7 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.995e-05/8.702, allocations: 93.7 kB / 5.339 GB, free: 124.7 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003434/8.702, allocations: 168 kB / 5.339 GB, free: 124.7 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0041/8.706, allocations: 2.821 MB / 5.342 GB, free: 124.7 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004094/8.71, allocations: 3.136 MB / 5.345 GB, free: 124.3 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.024e-05/8.71, allocations: 13.09 kB / 5.345 GB, free: 124.3 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002295/8.711, allocations: 3.969 kB / 5.345 GB, free: 124.3 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-05/8.711, allocations: 131.3 kB / 5.345 GB, free: 124.3 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/8.725, allocations: 15.85 MB / 5.361 GB, free: 114.7 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/8.727, allocations: 1.514 MB / 5.362 GB, free: 114.6 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/8.728, allocations: 1.345 MB / 5.364 GB, free: 114.6 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008596/8.729, allocations: 1.39 MB / 5.365 GB, free: 113.1 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00151/8.73, allocations: 1.284 MB / 5.366 GB, free: 113 MB / 1.214 GB Notification: Performance of pre-optimization done (n=213): time 3.687e-06/8.73, allocations: 0 / 5.366 GB, free: 113 MB / 1.214 GB Notification: Performance of matching and sorting (n=213): time 0.004857/8.735, allocations: 2.487 MB / 5.369 GB, free: 112.9 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/8.735, allocations: 78.66 kB / 5.369 GB, free: 112.8 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/8.736, allocations: 0.9829 MB / 5.37 GB, free: 112.6 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0001347/8.736, allocations: 30.83 kB / 5.37 GB, free: 112.6 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004349/8.737, allocations: 0.8732 MB / 5.37 GB, free: 112.3 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005115/8.737, allocations: 0.7043 MB / 5.371 GB, free: 111.9 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/8.737, allocations: 3.625 kB / 5.371 GB, free: 111.9 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 8.876e-05/8.738, allocations: 387.9 kB / 5.372 GB, free: 111.6 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/8.739, allocations: 0.9408 MB / 5.372 GB, free: 111.6 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/8.74, allocations: 1.33 MB / 5.374 GB, free: 111.2 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/8.742, allocations: 1.202 MB / 5.375 GB, free: 111.1 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/8.742, allocations: 5.531 kB / 5.375 GB, free: 111.1 MB / 1.214 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003574/8.745, allocations: 2.613 MB / 5.377 GB, free: 111 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/8.745, allocations: 6.688 kB / 5.377 GB, free: 111 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/8.745, allocations: 8.328 kB / 5.377 GB, free: 111 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/8.745, allocations: 15.53 kB / 5.378 GB, free: 111 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/8.747, allocations: 478.9 kB / 5.378 GB, free: 111 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/8.747, allocations: 20.84 kB / 5.378 GB, free: 111 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/8.75, allocations: 351 kB / 5.378 GB, free: 110.9 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/8.75, allocations: 84.42 kB / 5.378 GB, free: 110.9 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (258): * Single equations (assignments): 257 * 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.0003011/8.75, allocations: 154 kB / 5.379 GB, free: 110.8 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/8.751, allocations: 196.6 kB / 5.379 GB, free: 110.7 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003829/8.754, allocations: 2.571 MB / 5.381 GB, free: 110.6 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/8.754, allocations: 20.06 kB / 5.381 GB, free: 110.6 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/8.754, allocations: 0 / 5.381 GB, free: 110.6 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002768/8.757, allocations: 2.358 MB / 5.384 GB, free: 110.2 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007715/8.765, allocations: 5.467 MB / 5.389 GB, free: 109.6 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/8.765, allocations: 3.531 kB / 5.389 GB, free: 109.6 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002208/8.767, allocations: 489.1 kB / 5.389 GB, free: 109.6 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/8.767, allocations: 13.06 kB / 5.389 GB, free: 109.6 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/8.767, allocations: 36.89 kB / 5.389 GB, free: 109.6 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.976e-06/8.767, allocations: 10.34 kB / 5.389 GB, free: 109.6 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/8.767, allocations: 3.125 kB / 5.389 GB, free: 109.6 MB / 1.214 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004346/8.772, allocations: 3.895 MB / 5.393 GB, free: 109 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/8.773, allocations: 0.5471 MB / 5.394 GB, free: 108.8 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000336/8.773, allocations: 10.7 kB / 5.394 GB, free: 108.8 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/8.775, allocations: 214.9 kB / 5.394 GB, free: 108.8 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/8.775, allocations: 118.9 kB / 5.394 GB, free: 108.8 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/8.775, allocations: 83.34 kB / 5.394 GB, free: 108.8 MB / 1.214 GB Notification: Performance of sort global known variables: time 0.0008264/8.776, allocations: 0.7464 MB / 5.395 GB, free: 108.7 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.00262/8.779, allocations: 1.216 MB / 5.396 GB, free: 108.6 MB / 1.214 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) * 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 (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.005123/8.784, allocations: 5.321 MB / 5.401 GB, free: 106.3 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.002947/8.787, allocations: 2.332 MB / 5.404 GB, free: 106.2 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/8.787, allocations: 0 / 5.404 GB, free: 106.2 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/8.788, allocations: 1.226 MB / 5.405 GB, free: 106.2 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004571/8.793, allocations: 0.9809 MB / 5.406 GB, free: 106.2 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007574/8.8, allocations: 4.976 MB / 5.411 GB, free: 105.2 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002037/8.803, allocations: 2.271 MB / 5.413 GB, free: 104.4 MB / 1.214 GB Notification: Performance of SimCode: time 8.01e-07/8.803, allocations: 0 / 5.413 GB, free: 104.4 MB / 1.214 GB Notification: Performance of Templates: time 0.08336/8.886, allocations: 67.46 MB / 5.479 GB, free: 103.1 MB / 1.214 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches