Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.78/1.78, allocations: 387.2 MB / 394.5 MB, free: 13.3 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.0009786/0.0009788, allocations: 182.8 kB / 487 MB, free: 0.7539 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.131/1.131, allocations: 221.3 MB / 0.7819 GB, free: 6.801 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.0008703/0.0008703, allocations: 103.3 kB / 0.9213 GB, free: 43.7 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 6.783e-06/6.803e-06, allocations: 4 kB / 1.066 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5332/0.5332, allocations: 142.3 MB / 1.205 GB, free: 72.83 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.694/3.227, allocations: 1.936 GB / 3.142 GB, free: 148.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/3.228, allocations: 84.48 kB / 3.142 GB, free: 148.1 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.988/6.216, allocations: 1.042 GB / 4.184 GB, free: 201 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001437/6.216, allocations: 64.03 kB / 4.184 GB, free: 201 MB / 1.167 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.007287/6.223, allocations: 2.657 MB / 4.186 GB, free: 200.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/6.223, allocations: 7.094 kB / 4.186 GB, free: 200.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004582/6.228, allocations: 0.7055 MB / 4.187 GB, free: 200.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003472/6.231, allocations: 1.657 MB / 4.189 GB, free: 200 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/6.231, allocations: 61.66 kB / 4.189 GB, free: 200 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002524/6.232, allocations: 113.7 kB / 4.189 GB, free: 200 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003425/6.235, allocations: 2.296 MB / 4.191 GB, free: 200 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002916/6.238, allocations: 2.072 MB / 4.193 GB, free: 199.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.609e-05/6.238, allocations: 8.484 kB / 4.193 GB, free: 199.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/6.238, allocations: 3.594 kB / 4.193 GB, free: 199.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.921e-05/6.238, allocations: 85.78 kB / 4.193 GB, free: 199.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01065/6.249, allocations: 8.416 MB / 4.201 GB, free: 196.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002881/6.252, allocations: 2.159 MB / 4.203 GB, free: 196.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/6.253, allocations: 1.281 MB / 4.205 GB, free: 196.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/6.254, allocations: 1.557 MB / 4.206 GB, free: 194.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/6.255, allocations: 74.64 kB / 4.206 GB, free: 194.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=222): time 3.717e-06/6.255, allocations: 2.625 kB / 4.206 GB, free: 194.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=226): time 0.01145/6.266, allocations: 5.983 MB / 4.212 GB, free: 193 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/6.266, allocations: 156.6 kB / 4.212 GB, free: 192.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/6.267, allocations: 0.883 MB / 4.213 GB, free: 192.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001267/6.267, allocations: 25.7 kB / 4.213 GB, free: 192.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/6.268, allocations: 0.5537 MB / 4.214 GB, free: 192.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005126/6.268, allocations: 0.732 MB / 4.214 GB, free: 192.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.98e-05/6.268, allocations: 1.031 kB / 4.214 GB, free: 192.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/6.268, allocations: 385.9 kB / 4.215 GB, free: 191.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/6.269, allocations: 0.8203 MB / 4.216 GB, free: 191.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/6.27, allocations: 1.075 MB / 4.217 GB, free: 191.5 MB / 1.167 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.009982/6.28, allocations: 3.68 MB / 4.22 GB, free: 191.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/6.28, allocations: 3.656 kB / 4.22 GB, free: 191.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.00382/6.284, allocations: 2.382 MB / 4.223 GB, free: 191.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/6.284, allocations: 3.812 kB / 4.223 GB, free: 191.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/6.284, allocations: 10.78 kB / 4.223 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.524e-05/6.284, allocations: 13.81 kB / 4.223 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/6.286, allocations: 427.2 kB / 4.223 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/6.286, allocations: 17.66 kB / 4.223 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/6.288, allocations: 143.7 kB / 4.223 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/6.289, allocations: 77.59 kB / 4.223 GB, free: 191.1 MB / 1.167 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.0003269/6.289, allocations: 143 kB / 4.223 GB, free: 191 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003259/6.289, allocations: 185.8 kB / 4.224 GB, free: 190.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004207/6.293, allocations: 2.527 MB / 4.226 GB, free: 190.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/6.293, allocations: 22.84 kB / 4.226 GB, free: 190.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/6.293, allocations: 11.12 kB / 4.226 GB, free: 190.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002971/6.296, allocations: 2.119 MB / 4.228 GB, free: 190.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008598/6.305, allocations: 5.14 MB / 4.233 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/6.305, allocations: 7.875 kB / 4.233 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002016/6.307, allocations: 461.1 kB / 4.234 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.258e-05/6.307, allocations: 14.5 kB / 4.234 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/6.307, allocations: 30.72 kB / 4.234 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-05/6.307, allocations: 18.59 kB / 4.234 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.086e-06/6.307, allocations: 14.31 kB / 4.234 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005586/6.313, allocations: 4.447 MB / 4.238 GB, free: 188.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/6.314, allocations: 498.5 kB / 4.238 GB, free: 188.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003109/6.314, allocations: 13.88 kB / 4.238 GB, free: 188.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/6.316, allocations: 109.3 kB / 4.239 GB, free: 188.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/6.316, allocations: 135.4 kB / 4.239 GB, free: 188.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/6.317, allocations: 76.75 kB / 4.239 GB, free: 188.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0008424/6.317, allocations: 0.6795 MB / 4.239 GB, free: 188.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002241/6.32, allocations: 0.7871 MB / 4.24 GB, free: 188.6 MB / 1.167 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.003007/6.323, allocations: 2.86 MB / 4.243 GB, free: 187.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00263/6.325, allocations: 2.098 MB / 4.245 GB, free: 187.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/6.325, allocations: 7.312 kB / 4.245 GB, free: 187.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/6.327, allocations: 1.125 MB / 4.246 GB, free: 187.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004476/6.331, allocations: 0.9292 MB / 4.247 GB, free: 187.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006379/6.337, allocations: 4.091 MB / 4.251 GB, free: 186.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001687/6.339, allocations: 1.901 MB / 4.253 GB, free: 185.9 MB / 1.167 GB Notification: Performance of SimCode: time 6.01e-07/6.339, allocations: 0 / 4.253 GB, free: 185.9 MB / 1.167 GB Notification: Performance of Templates: time 0.06736/6.407, allocations: 51.91 MB / 4.304 GB, free: 184.9 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & ./Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches