Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.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.Validation.OpenDoorBuoyancyPressureDynamic,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|bouADis.T|bouBDis.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|bouADis.T|bouBDis.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic") [: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.751/1.751, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.0008903/0.0008903, allocations: 177.2 kB / 490.8 MB, free: 1.938 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.106/1.106, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.0008014/0.0008014, allocations: 100.1 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.761e-06/5.871e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1754, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.968/3.143, allocations: 1.937 GB / 3.149 GB, free: 398.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/3.144, allocations: 83.95 kB / 3.149 GB, free: 398.7 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 2.747/5.891, allocations: 1.042 GB / 4.191 GB, free: 183.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002511/5.891, allocations: 61.09 kB / 4.191 GB, free: 183.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.008045/5.899, allocations: 2.65 MB / 4.194 GB, free: 182 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/5.899, allocations: 9.75 kB / 4.194 GB, free: 182 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005086/5.904, allocations: 0.7077 MB / 4.195 GB, free: 181.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00431/5.909, allocations: 1.657 MB / 4.196 GB, free: 180.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.97e-05/5.909, allocations: 60.81 kB / 4.196 GB, free: 180.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005889/5.909, allocations: 117.4 kB / 4.196 GB, free: 180.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004708/5.914, allocations: 2.301 MB / 4.199 GB, free: 179.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004251/5.918, allocations: 2.054 MB / 4.201 GB, free: 178.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.01e-05/5.918, allocations: 0.75 kB / 4.201 GB, free: 178.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/5.919, allocations: 8.438 kB / 4.201 GB, free: 178.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/5.919, allocations: 95.75 kB / 4.201 GB, free: 178.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/5.93, allocations: 8.352 MB / 4.209 GB, free: 172 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002709/5.933, allocations: 2.141 MB / 4.211 GB, free: 170 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/5.935, allocations: 1.266 MB / 4.212 GB, free: 168.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/5.936, allocations: 1.562 MB / 4.214 GB, free: 166.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/5.936, allocations: 59.25 kB / 4.214 GB, free: 166.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 4.849e-06/5.936, allocations: 0 / 4.214 GB, free: 166.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=226): time 0.01186/5.948, allocations: 5.513 MB / 4.219 GB, free: 161.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/5.948, allocations: 99.08 kB / 4.219 GB, free: 161 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/5.949, allocations: 0.885 MB / 4.22 GB, free: 160.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001494/5.949, allocations: 29.7 kB / 4.22 GB, free: 160.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/5.95, allocations: 0.5411 MB / 4.221 GB, free: 159.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005129/5.95, allocations: 0.7387 MB / 4.221 GB, free: 158.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.736e-05/5.95, allocations: 0 / 4.221 GB, free: 158.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000104/5.95, allocations: 385.9 kB / 4.222 GB, free: 158.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/5.951, allocations: 0.8279 MB / 4.223 GB, free: 157.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/5.953, allocations: 1.062 MB / 4.224 GB, free: 156.5 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouA.dynBal.medium.p = bouA.dynBal.p_start (bou.p = bouA.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouADis.dynBal.medium.p = bouADis.dynBal.p_start (bouDis.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/5.963, allocations: 3.688 MB / 4.227 GB, free: 152.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/5.963, allocations: 3.562 kB / 4.227 GB, free: 152.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004588/5.968, allocations: 2.388 MB / 4.23 GB, free: 150.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/5.968, allocations: 4 kB / 4.23 GB, free: 150.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/5.968, allocations: 7.984 kB / 4.23 GB, free: 150.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.774e-05/5.968, allocations: 16 kB / 4.23 GB, free: 150.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001794/5.97, allocations: 419.5 kB / 4.23 GB, free: 150 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.668e-05/5.97, allocations: 15.94 kB / 4.23 GB, free: 150 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00242/5.972, allocations: 145.4 kB / 4.23 GB, free: 149.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/5.972, allocations: 79.89 kB / 4.23 GB, free: 149.8 MB / 1.151 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: bouA.dynBal.medium.p = bouA.dynBal.p_start bouADis.dynBal.medium.p = bouADis.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * 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.0003643/5.973, allocations: 144.5 kB / 4.23 GB, free: 149.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005153/5.973, allocations: 181.8 kB / 4.231 GB, free: 149.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004343/5.977, allocations: 2.536 MB / 4.233 GB, free: 146.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/5.977, allocations: 23.09 kB / 4.233 GB, free: 146.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/5.978, allocations: 0 / 4.233 GB, free: 146.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003192/5.981, allocations: 2.128 MB / 4.235 GB, free: 144.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008912/5.99, allocations: 5.122 MB / 4.24 GB, free: 139.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/5.99, allocations: 8 kB / 4.24 GB, free: 139.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001995/5.992, allocations: 463.2 kB / 4.241 GB, free: 139.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-05/5.992, allocations: 16 kB / 4.241 GB, free: 139.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001466/5.992, allocations: 27.98 kB / 4.241 GB, free: 139.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.539e-05/5.992, allocations: 16.88 kB / 4.241 GB, free: 139.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/5.992, allocations: 7.938 kB / 4.241 GB, free: 139.1 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005017/5.997, allocations: 4.267 MB / 4.245 GB, free: 134.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/5.998, allocations: 0.4908 MB / 4.245 GB, free: 134.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004499/5.999, allocations: 20.05 kB / 4.245 GB, free: 134.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001925/6, allocations: 103.3 kB / 4.245 GB, free: 134 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/6.001, allocations: 133 kB / 4.246 GB, free: 133.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/6.001, allocations: 83.88 kB / 4.246 GB, free: 133.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009293/6.002, allocations: 0.6792 MB / 4.246 GB, free: 133.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002371/6.004, allocations: 0.7772 MB / 4.247 GB, free: 132.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 12 (dooDis.mExcAB,dooDis.mExcBA,bouADis.dynBal.medium.Xi[1],bouADis.dynBal.U,bouBDis.dynBal.medium.Xi[1],bouBDis.dynBal.U,bouBDis.dynBal.m,bouA.dynBal.medium.Xi[1],bouA.dynBal.U,bouB.dynBal.medium.Xi[1],bouB.dynBal.U,bouB.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.003344/6.008, allocations: 2.85 MB / 4.25 GB, free: 129.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002592/6.01, allocations: 2.1 MB / 4.252 GB, free: 127.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/6.01, allocations: 11 kB / 4.252 GB, free: 127.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001227/6.011, allocations: 1.128 MB / 4.253 GB, free: 126.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004113/6.015, allocations: 0.9267 MB / 4.254 GB, free: 125.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006535/6.022, allocations: 4.091 MB / 4.258 GB, free: 122 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001922/6.024, allocations: 1.902 MB / 4.26 GB, free: 120.1 MB / 1.151 GB Notification: Performance of SimCode: time 3.31e-07/6.024, allocations: 0 / 4.26 GB, free: 120.1 MB / 1.151 GB Notification: Performance of Templates: time 0.06311/6.087, allocations: 51.96 MB / 4.311 GB, free: 69.06 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches