Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.754/1.754, allocations: 387.2 MB / 394.5 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 175.2 kB / 487 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.183/1.183, allocations: 221.3 MB / 0.7819 GB, free: 6.852 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008911/0.0008911, allocations: 97.84 kB / 0.9213 GB, free: 43.73 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 5.44e-06/5.46e-06, allocations: 0 / 1.066 GB, free: 7.629 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5574/0.5575, allocations: 142.3 MB / 1.205 GB, free: 72.68 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.742/3.3, allocations: 1.982 GB / 3.187 GB, free: 101.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001649/3.3, allocations: 89.8 kB / 3.187 GB, free: 101.6 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.569/8.869, allocations: 2.138 GB / 5.325 GB, free: 148.3 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0001349/8.869, allocations: 72.03 kB / 5.325 GB, free: 148.3 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.009783/8.879, allocations: 3.643 MB / 5.329 GB, free: 146.7 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/8.879, allocations: 9.25 kB / 5.329 GB, free: 146.7 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00597/8.885, allocations: 0.8985 MB / 5.33 GB, free: 146.5 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004963/8.89, allocations: 2.228 MB / 5.332 GB, free: 145.9 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.264e-05/8.89, allocations: 87.62 kB / 5.332 GB, free: 145.9 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003607/8.89, allocations: 179.3 kB / 5.332 GB, free: 145.9 MB / 1.214 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004253/8.895, allocations: 2.824 MB / 5.335 GB, free: 145.9 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004339/8.899, allocations: 3.137 MB / 5.338 GB, free: 145.5 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.92e-05/8.899, allocations: 6.688 kB / 5.338 GB, free: 145.5 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000248/8.899, allocations: 4.047 kB / 5.338 GB, free: 145.5 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/8.899, allocations: 132.7 kB / 5.338 GB, free: 145.5 MB / 1.214 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0138/8.913, allocations: 15.88 MB / 5.354 GB, free: 135.6 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/8.915, allocations: 1.516 MB / 5.355 GB, free: 135.6 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/8.917, allocations: 1.339 MB / 5.356 GB, free: 135.5 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008208/8.918, allocations: 1.387 MB / 5.358 GB, free: 134 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001527/8.919, allocations: 1.274 MB / 5.359 GB, free: 133.5 MB / 1.214 GB Notification: Performance of pre-optimization done (n=213): time 3.918e-06/8.919, allocations: 0 / 5.359 GB, free: 133.5 MB / 1.214 GB Notification: Performance of matching and sorting (n=213): time 0.005054/8.924, allocations: 2.495 MB / 5.361 GB, free: 132.7 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/8.924, allocations: 77.41 kB / 5.361 GB, free: 132.6 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/8.925, allocations: 0.9867 MB / 5.362 GB, free: 132.2 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0001488/8.926, allocations: 29.42 kB / 5.362 GB, free: 132.2 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.000687/8.926, allocations: 0.877 MB / 5.363 GB, free: 131.6 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005498/8.927, allocations: 0.7055 MB / 5.364 GB, free: 131 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/8.927, allocations: 3.938 kB / 5.364 GB, free: 131 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 9.649e-05/8.927, allocations: 387.6 kB / 5.364 GB, free: 130.6 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/8.928, allocations: 0.9369 MB / 5.365 GB, free: 130.3 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/8.93, allocations: 1.326 MB / 5.367 GB, free: 129.5 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/8.931, allocations: 1.21 MB / 5.368 GB, free: 129 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/8.931, allocations: 2.875 kB / 5.368 GB, free: 129 MB / 1.214 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003746/8.935, allocations: 2.621 MB / 5.37 GB, free: 128.1 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/8.935, allocations: 4.031 kB / 5.37 GB, free: 128.1 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/8.935, allocations: 7.25 kB / 5.37 GB, free: 128.1 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/8.935, allocations: 19.06 kB / 5.37 GB, free: 128.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/8.937, allocations: 471.4 kB / 5.371 GB, free: 128.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/8.937, allocations: 19.84 kB / 5.371 GB, free: 128.1 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/8.94, allocations: 350.3 kB / 5.371 GB, free: 128 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/8.94, allocations: 91.12 kB / 5.371 GB, free: 128 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.0002986/8.94, allocations: 143.7 kB / 5.371 GB, free: 127.8 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002809/8.941, allocations: 197.5 kB / 5.372 GB, free: 127.7 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003969/8.945, allocations: 2.567 MB / 5.374 GB, free: 126.8 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/8.945, allocations: 20.56 kB / 5.374 GB, free: 126.8 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/8.945, allocations: 0 / 5.374 GB, free: 126.8 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002907/8.948, allocations: 2.368 MB / 5.376 GB, free: 125.8 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008288/8.956, allocations: 5.466 MB / 5.382 GB, free: 123.5 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/8.956, allocations: 5.5 kB / 5.382 GB, free: 123.5 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002396/8.958, allocations: 488.6 kB / 5.382 GB, free: 123.4 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.026e-05/8.958, allocations: 7.562 kB / 5.382 GB, free: 123.4 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001645/8.958, allocations: 39.56 kB / 5.382 GB, free: 123.4 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.175e-05/8.959, allocations: 14.12 kB / 5.382 GB, free: 123.4 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/8.959, allocations: 2 kB / 5.382 GB, free: 123.4 MB / 1.214 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004849/8.963, allocations: 3.9 MB / 5.386 GB, free: 120.2 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/8.965, allocations: 0.5401 MB / 5.387 GB, free: 119.7 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003684/8.965, allocations: 10.28 kB / 5.387 GB, free: 119.7 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/8.967, allocations: 216.7 kB / 5.387 GB, free: 119.5 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002394/8.967, allocations: 125.4 kB / 5.387 GB, free: 119.5 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/8.967, allocations: 79.39 kB / 5.387 GB, free: 119.4 MB / 1.214 GB Notification: Performance of sort global known variables: time 0.000888/8.968, allocations: 0.745 MB / 5.388 GB, free: 118.7 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.002649/8.971, allocations: 1.21 MB / 5.389 GB, free: 117.5 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.005305/8.976, allocations: 5.313 MB / 5.394 GB, free: 113.1 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.003029/8.979, allocations: 2.338 MB / 5.396 GB, free: 110.9 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/8.979, allocations: 0 / 5.396 GB, free: 110.9 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.001354/8.981, allocations: 1.226 MB / 5.398 GB, free: 109.8 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004399/8.985, allocations: 0.9771 MB / 5.399 GB, free: 108.9 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007551/8.993, allocations: 4.976 MB / 5.403 GB, free: 104.2 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001949/8.995, allocations: 2.272 MB / 5.406 GB, free: 101.9 MB / 1.214 GB Notification: Performance of SimCode: time 5.61e-07/8.995, allocations: 0 / 5.406 GB, free: 101.9 MB / 1.214 GB Notification: Performance of Templates: time 0.07987/9.075, allocations: 67.45 MB / 5.472 GB, free: 35.76 MB / 1.214 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_CO2TransportStep.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.CO2TransportStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches