Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic") [: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.792/1.792, 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.0009375/0.0009375, allocations: 182 kB / 490.8 MB, free: 1.941 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.125/1.125, allocations: 221.4 MB / 0.7863 GB, free: 13.64 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.0008255/0.0008255, allocations: 91.8 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.384e-06/7.474e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1987, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.141/3.339, allocations: 1.937 GB / 3.149 GB, free: 395.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/3.34, allocations: 87.95 kB / 3.149 GB, free: 395.3 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.568/5.908, allocations: 1.042 GB / 4.191 GB, free: 183.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001225/5.908, allocations: 67.17 kB / 4.191 GB, free: 183.2 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.005356/5.913, allocations: 2.639 MB / 4.193 GB, free: 181.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/5.913, allocations: 8.594 kB / 4.193 GB, free: 181.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004052/5.917, allocations: 0.7104 MB / 4.194 GB, free: 181.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/5.92, allocations: 1.652 MB / 4.196 GB, free: 180.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.218e-05/5.92, allocations: 60.97 kB / 4.196 GB, free: 180.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002848/5.921, allocations: 116.8 kB / 4.196 GB, free: 180.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003705/5.924, allocations: 2.3 MB / 4.198 GB, free: 179.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00322/5.928, allocations: 2.064 MB / 4.2 GB, free: 178.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.537e-05/5.928, allocations: 5 kB / 4.2 GB, free: 178.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/5.928, allocations: 5.609 kB / 4.2 GB, free: 178.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001294/5.928, allocations: 88.16 kB / 4.2 GB, free: 178.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008601/5.937, allocations: 8.424 MB / 4.208 GB, free: 169.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/5.939, allocations: 2.16 MB / 4.211 GB, free: 167.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/5.94, allocations: 1.282 MB / 4.212 GB, free: 166 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/5.941, allocations: 1.559 MB / 4.213 GB, free: 164.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/5.941, allocations: 69.97 kB / 4.213 GB, free: 164.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 4.278e-06/5.941, allocations: 0 / 4.213 GB, free: 164.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=226): time 0.01019/5.952, allocations: 5.997 MB / 4.219 GB, free: 158 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/5.952, allocations: 154.5 kB / 4.219 GB, free: 157.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009316/5.953, allocations: 0.8771 MB / 4.22 GB, free: 156.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/5.953, allocations: 29.69 kB / 4.22 GB, free: 156.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/5.953, allocations: 0.5478 MB / 4.221 GB, free: 156.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004051/5.953, allocations: 0.7388 MB / 4.222 GB, free: 155.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.77e-05/5.953, allocations: 0 / 4.222 GB, free: 155.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.281e-05/5.954, allocations: 381.9 kB / 4.222 GB, free: 155.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009781/5.955, allocations: 0.824 MB / 4.223 GB, free: 154.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/5.956, allocations: 1.078 MB / 4.224 GB, free: 153.2 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 (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00986/5.965, allocations: 3.68 MB / 4.227 GB, free: 149.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/5.965, allocations: 3.375 kB / 4.227 GB, free: 149.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003538/5.969, allocations: 2.387 MB / 4.23 GB, free: 147.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/5.969, allocations: 8 kB / 4.23 GB, free: 147.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/5.969, allocations: 4 kB / 4.23 GB, free: 147.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/5.969, allocations: 12 kB / 4.23 GB, free: 147.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/5.971, allocations: 430.8 kB / 4.23 GB, free: 146.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/5.971, allocations: 23.92 kB / 4.23 GB, free: 146.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/5.973, allocations: 141.7 kB / 4.23 GB, free: 146.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/5.973, allocations: 75.98 kB / 4.23 GB, free: 146.5 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: 21 * 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.0002948/5.973, allocations: 140.5 kB / 4.231 GB, free: 146.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003014/5.974, allocations: 189.8 kB / 4.231 GB, free: 146.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00393/5.978, allocations: 2.526 MB / 4.233 GB, free: 143.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/5.978, allocations: 24 kB / 4.233 GB, free: 143.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/5.978, allocations: 0 / 4.233 GB, free: 143.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002841/5.98, allocations: 2.12 MB / 4.235 GB, free: 141.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00732/5.988, allocations: 5.136 MB / 4.24 GB, free: 136.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/5.988, allocations: 12 kB / 4.24 GB, free: 136.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001937/5.99, allocations: 459.4 kB / 4.241 GB, free: 135.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.916e-05/5.99, allocations: 16 kB / 4.241 GB, free: 135.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/5.99, allocations: 29.52 kB / 4.241 GB, free: 135.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/5.99, allocations: 19.94 kB / 4.241 GB, free: 135.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/5.99, allocations: 19.73 kB / 4.241 GB, free: 135.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00448/5.994, allocations: 4.422 MB / 4.245 GB, free: 131.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009055/5.995, allocations: 0.4908 MB / 4.246 GB, free: 130.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002901/5.996, allocations: 19.23 kB / 4.246 GB, free: 130.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/5.997, allocations: 111.2 kB / 4.246 GB, free: 130.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/5.997, allocations: 132.5 kB / 4.246 GB, free: 130.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/5.998, allocations: 83.56 kB / 4.246 GB, free: 130.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007162/5.998, allocations: 0.6792 MB / 4.247 GB, free: 129.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001955/6, allocations: 0.785 MB / 4.247 GB, free: 128.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (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,dooDis.mExcBA,dooDis.mExcAB) * 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.002689/6.003, allocations: 2.861 MB / 4.25 GB, free: 126.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00232/6.005, allocations: 2.093 MB / 4.252 GB, free: 124.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/6.005, allocations: 4 kB / 4.252 GB, free: 124.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/6.006, allocations: 1.131 MB / 4.253 GB, free: 123.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003716/6.01, allocations: 0.9336 MB / 4.254 GB, free: 122.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005462/6.016, allocations: 4.089 MB / 4.258 GB, free: 118.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001532/6.017, allocations: 1.897 MB / 4.26 GB, free: 116.5 MB / 1.151 GB Notification: Performance of SimCode: time 7.91e-07/6.017, allocations: 0 / 4.26 GB, free: 116.5 MB / 1.151 GB Notification: Performance of Templates: time 0.06073/6.078, allocations: 51.9 MB / 4.311 GB, free: 65.42 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches