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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.336/2.336, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001192/0.001192, allocations: 194.6 kB / 0.4902 GB, free: 2.293 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.591/1.591, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.0009576/0.0009571, allocations: 88.34 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 8.219 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2891, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.816/5.106, allocations: 1.938 GB / 3.167 GB, free: 15.23 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/5.106, allocations: 90.19 kB / 3.167 GB, free: 15.19 MB / 1.167 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 - DAE generated: time 4.753/9.859, allocations: 1.043 GB / 4.21 GB, free: 204.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.365e-06/9.86, allocations: 0 / 4.21 GB, free: 204.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005007/9.86, allocations: 59.88 kB / 4.21 GB, free: 204.6 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.01402/9.874, allocations: 2.968 MB / 4.213 GB, free: 203.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/9.874, allocations: 7.891 kB / 4.213 GB, free: 203.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005677/9.88, allocations: 0.6681 MB / 4.214 GB, free: 203.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005791/9.886, allocations: 1.619 MB / 4.215 GB, free: 203.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002074/9.886, allocations: 147.6 kB / 4.215 GB, free: 203.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009822/9.887, allocations: 199 kB / 4.216 GB, free: 203.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006319/9.893, allocations: 2.306 MB / 4.218 GB, free: 203 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-05/9.893, allocations: 3 kB / 4.218 GB, free: 203 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000414/9.894, allocations: 83.22 kB / 4.218 GB, free: 203 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/9.894, allocations: 92.44 kB / 4.218 GB, free: 203 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004326/9.898, allocations: 2.504 MB / 4.22 GB, free: 202.9 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/9.91, allocations: 7.869 MB / 4.228 GB, free: 200 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002823/9.912, allocations: 2.261 MB / 4.23 GB, free: 199.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001166/9.914, allocations: 1.56 MB / 4.232 GB, free: 198.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/9.914, allocations: 69.23 kB / 4.232 GB, free: 198.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=222): time 3.807e-06/9.914, allocations: 0 / 4.232 GB, free: 198.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=226): time 0.01035/9.924, allocations: 6.22 MB / 4.238 GB, free: 197 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/9.924, allocations: 108.4 kB / 4.238 GB, free: 196.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/9.926, allocations: 1.05 MB / 4.239 GB, free: 196.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001896/9.926, allocations: 73.09 kB / 4.239 GB, free: 196.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005165/9.926, allocations: 0.7537 MB / 4.24 GB, free: 196.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006224/9.927, allocations: 0.7706 MB / 4.241 GB, free: 195.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-05/9.927, allocations: 40.81 kB / 4.241 GB, free: 195.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001185/9.927, allocations: 387 kB / 4.241 GB, free: 195.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/9.928, allocations: 0.8485 MB / 4.242 GB, free: 195.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/9.93, allocations: 1.109 MB / 4.243 GB, free: 195.4 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 (bouDis.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.05385/9.984, allocations: 9.656 MB / 4.252 GB, free: 195.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-05/9.984, allocations: 2.5 kB / 4.252 GB, free: 195.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.00392/9.988, allocations: 2.374 MB / 4.255 GB, free: 195 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/9.988, allocations: 7.531 kB / 4.255 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/9.988, allocations: 7.578 kB / 4.255 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/9.988, allocations: 16.81 kB / 4.255 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/9.989, allocations: 425.3 kB / 4.255 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-05/9.989, allocations: 16.98 kB / 4.255 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/9.992, allocations: 187.5 kB / 4.255 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/9.992, allocations: 68.16 kB / 4.255 GB, free: 195 MB / 1.167 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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 () * Number of clocked 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.001305/9.993, allocations: 0.5658 MB / 4.256 GB, free: 194.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004492/9.994, allocations: 199.4 kB / 4.256 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003728/9.998, allocations: 2.514 MB / 4.259 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/9.998, allocations: 25.31 kB / 4.259 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/9.998, allocations: 0 / 4.259 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002571/10, allocations: 2.088 MB / 4.261 GB, free: 194.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008663/10.01, allocations: 5.295 MB / 4.266 GB, free: 193.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/10.01, allocations: 9.812 kB / 4.266 GB, free: 193.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001906/10.01, allocations: 460.4 kB / 4.266 GB, free: 193.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.79e-05/10.01, allocations: 11.75 kB / 4.266 GB, free: 193.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/10.01, allocations: 61.25 kB / 4.266 GB, free: 193.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.584e-05/10.01, allocations: 21.03 kB / 4.266 GB, free: 193.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/10.01, allocations: 7.688 kB / 4.266 GB, free: 193.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005116/10.02, allocations: 4.249 MB / 4.271 GB, free: 192.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001656/10.02, allocations: 0.4912 MB / 4.271 GB, free: 192.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003326/10.02, allocations: 57.89 kB / 4.271 GB, free: 192.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001797/10.02, allocations: 147.2 kB / 4.271 GB, free: 192.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/10.02, allocations: 151 kB / 4.271 GB, free: 192.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/10.02, allocations: 72.81 kB / 4.271 GB, free: 192.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001231/10.02, allocations: 0.8319 MB / 4.272 GB, free: 192.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/10.02, allocations: 3.688 kB / 4.272 GB, free: 192.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003253/10.02, allocations: 0.9344 MB / 4.273 GB, free: 192.5 MB / 1.167 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 () * Number of clocked 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.00408/10.03, allocations: 2.582 MB / 4.276 GB, free: 191.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003448/10.03, allocations: 2.169 MB / 4.278 GB, free: 191.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/10.03, allocations: 3.938 kB / 4.278 GB, free: 191.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001497/10.03, allocations: 1.156 MB / 4.279 GB, free: 191.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005471/10.04, allocations: 1.101 MB / 4.28 GB, free: 191.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007939/10.05, allocations: 5.785 MB / 4.286 GB, free: 189.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/10.05, allocations: 1.693 MB / 4.287 GB, free: 188.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003188/10.05, allocations: 0.75 MB / 4.288 GB, free: 188.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006267/10.05, allocations: 179.4 kB / 4.288 GB, free: 188.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.212e-06/10.05, allocations: 2.375 kB / 4.288 GB, free: 188.4 MB / 1.167 GB Notification: Performance of Templates: time 0.09235/10.14, allocations: 65.79 MB / 4.352 GB, free: 146 MB / 1.167 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