Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.792/1.792, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.0009288/0.0009288, allocations: 188.6 kB / 487 MB, free: 5.316 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.193/1.193, allocations: 221.3 MB / 0.7819 GB, free: 1.312 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000963/0.000963, allocations: 92.22 kB / 0.9213 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.762e-06/6.893e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2127, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.299/3.512, allocations: 1.936 GB / 3.142 GB, free: 381.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/3.512, allocations: 87.89 kB / 3.142 GB, free: 381.2 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.544/6.057, allocations: 1.042 GB / 4.184 GB, free: 181.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002695/6.057, allocations: 62.25 kB / 4.184 GB, free: 181.1 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.008993/6.066, allocations: 2.651 MB / 4.187 GB, free: 179.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/6.066, allocations: 11.09 kB / 4.187 GB, free: 179.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005487/6.072, allocations: 0.7081 MB / 4.188 GB, free: 178.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004785/6.076, allocations: 1.655 MB / 4.189 GB, free: 176.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.604e-05/6.077, allocations: 62.88 kB / 4.189 GB, free: 176.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005993/6.077, allocations: 120 kB / 4.189 GB, free: 176.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004162/6.081, allocations: 2.298 MB / 4.192 GB, free: 174.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003532/6.085, allocations: 2.06 MB / 4.194 GB, free: 172.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.664e-05/6.085, allocations: 7.906 kB / 4.194 GB, free: 172.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/6.085, allocations: 3.656 kB / 4.194 GB, free: 172.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-05/6.085, allocations: 88.3 kB / 4.194 GB, free: 172.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009505/6.095, allocations: 8.351 MB / 4.202 GB, free: 163.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/6.097, allocations: 2.145 MB / 4.204 GB, free: 161.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/6.098, allocations: 1.266 MB / 4.205 GB, free: 160.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/6.099, allocations: 1.563 MB / 4.207 GB, free: 158.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/6.099, allocations: 60.47 kB / 4.207 GB, free: 158.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 3.667e-06/6.099, allocations: 0 / 4.207 GB, free: 158.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=226): time 0.01012/6.11, allocations: 5.514 MB / 4.212 GB, free: 152.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/6.11, allocations: 99.08 kB / 4.212 GB, free: 152.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/6.111, allocations: 0.881 MB / 4.213 GB, free: 151.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/6.111, allocations: 32.55 kB / 4.213 GB, free: 151.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/6.111, allocations: 0.547 MB / 4.214 GB, free: 151 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004263/6.111, allocations: 0.7349 MB / 4.214 GB, free: 150.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.841e-05/6.111, allocations: 0 / 4.214 GB, free: 150.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.886e-05/6.112, allocations: 381.9 kB / 4.215 GB, free: 149.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009792/6.113, allocations: 0.8317 MB / 4.216 GB, free: 149 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/6.114, allocations: 1.06 MB / 4.217 GB, free: 147.9 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.009759/6.123, allocations: 3.678 MB / 4.22 GB, free: 144.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/6.123, allocations: 4 kB / 4.22 GB, free: 144.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003586/6.127, allocations: 2.391 MB / 4.222 GB, free: 141.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/6.127, allocations: 4 kB / 4.222 GB, free: 141.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/6.127, allocations: 4 kB / 4.222 GB, free: 141.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.253e-05/6.127, allocations: 16 kB / 4.223 GB, free: 141.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/6.129, allocations: 427.4 kB / 4.223 GB, free: 141.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.013e-05/6.129, allocations: 12 kB / 4.223 GB, free: 141.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/6.131, allocations: 154.3 kB / 4.223 GB, free: 141.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001865/6.131, allocations: 68 kB / 4.223 GB, free: 141.2 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.0003095/6.131, allocations: 147.6 kB / 4.223 GB, free: 141.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004168/6.132, allocations: 185.8 kB / 4.223 GB, free: 140.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00408/6.136, allocations: 2.543 MB / 4.226 GB, free: 138.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/6.136, allocations: 20 kB / 4.226 GB, free: 138.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/6.136, allocations: 64 / 4.226 GB, free: 138.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002947/6.139, allocations: 2.132 MB / 4.228 GB, free: 136.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007872/6.147, allocations: 5.112 MB / 4.233 GB, free: 131 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/6.147, allocations: 4 kB / 4.233 GB, free: 131 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001947/6.149, allocations: 459.4 kB / 4.233 GB, free: 130.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.215e-05/6.149, allocations: 16 kB / 4.233 GB, free: 130.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/6.149, allocations: 27.98 kB / 4.234 GB, free: 130.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-05/6.149, allocations: 27.61 kB / 4.234 GB, free: 130.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/6.149, allocations: 4 kB / 4.234 GB, free: 130.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004917/6.154, allocations: 4.272 MB / 4.238 GB, free: 126.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/6.155, allocations: 494.6 kB / 4.238 GB, free: 125.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004975/6.156, allocations: 16 kB / 4.238 GB, free: 125.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00203/6.158, allocations: 113.8 kB / 4.238 GB, free: 125.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/6.158, allocations: 133 kB / 4.238 GB, free: 125.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001625/6.158, allocations: 79.98 kB / 4.239 GB, free: 125.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009554/6.159, allocations: 0.6761 MB / 4.239 GB, free: 124.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002546/6.162, allocations: 0.7889 MB / 4.24 GB, free: 123.8 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.003309/6.165, allocations: 2.857 MB / 4.243 GB, free: 121.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002608/6.168, allocations: 2.098 MB / 4.245 GB, free: 119.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/6.168, allocations: 0 / 4.245 GB, free: 119.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/6.169, allocations: 1.131 MB / 4.246 GB, free: 118.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004315/6.173, allocations: 0.917 MB / 4.247 GB, free: 117.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006772/6.18, allocations: 4.109 MB / 4.251 GB, free: 113.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002027/6.182, allocations: 1.904 MB / 4.253 GB, free: 111.2 MB / 1.151 GB Notification: Performance of SimCode: time 8.61e-07/6.182, allocations: 0 / 4.253 GB, free: 111.2 MB / 1.151 GB Notification: Performance of Templates: time 0.06564/6.248, allocations: 51.97 MB / 4.303 GB, free: 59.98 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & ./Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches