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.399/2.399, allocations: 390.3 MB / 402.8 MB, free: 6.652 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.001108/0.001108, allocations: 176.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.641/1.641, allocations: 221.3 MB / 0.7915 GB, free: 5.449 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.0009532/0.0009534, allocations: 87.91 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.202e-05/5.205e-05, allocations: 9.328 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.33, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.44/6.77, allocations: 1.938 GB / 3.157 GB, free: 320.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/6.77, allocations: 91.97 kB / 3.157 GB, free: 320.8 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.008/10.78, allocations: 1.042 GB / 4.199 GB, free: 159.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.474e-06/10.78, allocations: 3.75 kB / 4.199 GB, free: 159.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002798/10.78, allocations: 55.98 kB / 4.199 GB, free: 159.3 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.01024/10.79, allocations: 2.638 MB / 4.201 GB, free: 156.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/10.79, allocations: 8.031 kB / 4.201 GB, free: 156.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005473/10.79, allocations: 0.6602 MB / 4.202 GB, free: 155.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005546/10.8, allocations: 1.613 MB / 4.204 GB, free: 154.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/10.8, allocations: 151.8 kB / 4.204 GB, free: 154.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009903/10.8, allocations: 188 kB / 4.204 GB, free: 154 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005002/10.81, allocations: 2.276 MB / 4.206 GB, free: 151.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.006e-05/10.81, allocations: 3.906 kB / 4.206 GB, free: 151.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001933/10.81, allocations: 87.94 kB / 4.206 GB, free: 151.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/10.81, allocations: 88.28 kB / 4.206 GB, free: 151.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003579/10.81, allocations: 2.453 MB / 4.209 GB, free: 149 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.01112/10.82, allocations: 7.872 MB / 4.216 GB, free: 140.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002741/10.82, allocations: 2.242 MB / 4.219 GB, free: 138.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001597/10.83, allocations: 1.295 MB / 4.22 GB, free: 137.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/10.83, allocations: 1.56 MB / 4.221 GB, free: 135.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.113e-05/10.83, allocations: 60.44 kB / 4.221 GB, free: 135.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=222): time 4.488e-06/10.83, allocations: 0 / 4.221 GB, free: 135.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=226): time 0.009468/10.84, allocations: 5.318 MB / 4.227 GB, free: 129.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/10.84, allocations: 99.2 kB / 4.227 GB, free: 129.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/10.84, allocations: 1.037 MB / 4.228 GB, free: 128.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001397/10.84, allocations: 65.7 kB / 4.228 GB, free: 128.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004578/10.84, allocations: 0.7607 MB / 4.228 GB, free: 127.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005439/10.84, allocations: 0.7699 MB / 4.229 GB, free: 126.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.313e-05/10.84, allocations: 46.84 kB / 4.229 GB, free: 126.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000121/10.84, allocations: 385.9 kB / 4.23 GB, free: 126.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/10.84, allocations: 0.8392 MB / 4.23 GB, free: 125.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/10.84, allocations: 1.09 MB / 4.232 GB, free: 124.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 (bouDis.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.05654/10.9, allocations: 9.649 MB / 4.241 GB, free: 114.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/10.9, allocations: 4 kB / 4.241 GB, free: 114.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005235/10.9, allocations: 2.344 MB / 4.243 GB, free: 112.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/10.9, allocations: 8.531 kB / 4.243 GB, free: 112.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/10.9, allocations: 4 kB / 4.243 GB, free: 112.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.587e-05/10.9, allocations: 20 kB / 4.243 GB, free: 112.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/10.91, allocations: 427.4 kB / 4.244 GB, free: 112 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.535e-05/10.91, allocations: 12 kB / 4.244 GB, free: 112 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002927/10.91, allocations: 183.5 kB / 4.244 GB, free: 111.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003271/10.91, allocations: 71.98 kB / 4.244 GB, free: 111.8 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 () * 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.0005352/10.91, allocations: 224.5 kB / 4.244 GB, free: 111.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006676/10.91, allocations: 201.7 kB / 4.244 GB, free: 111.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004414/10.91, allocations: 2.494 MB / 4.247 GB, free: 108.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/10.91, allocations: 27.98 kB / 4.247 GB, free: 108.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/10.91, allocations: 0 / 4.247 GB, free: 108.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002722/10.92, allocations: 2.061 MB / 4.249 GB, free: 106.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008803/10.93, allocations: 5.292 MB / 4.254 GB, free: 101.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/10.93, allocations: 8.031 kB / 4.254 GB, free: 101.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001827/10.93, allocations: 459.4 kB / 4.254 GB, free: 100.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.939e-05/10.93, allocations: 16 kB / 4.254 GB, free: 100.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/10.93, allocations: 59.98 kB / 4.254 GB, free: 100.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.409e-05/10.93, allocations: 15.94 kB / 4.255 GB, free: 100.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/10.93, allocations: 8 kB / 4.255 GB, free: 100.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004642/10.93, allocations: 4.201 MB / 4.259 GB, free: 96.27 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/10.93, allocations: 0.4985 MB / 4.259 GB, free: 95.75 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002931/10.93, allocations: 51.98 kB / 4.259 GB, free: 95.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/10.94, allocations: 143.7 kB / 4.259 GB, free: 95.56 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/10.94, allocations: 149.6 kB / 4.259 GB, free: 95.41 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/10.94, allocations: 79.97 kB / 4.26 GB, free: 95.34 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001138/10.94, allocations: 0.8106 MB / 4.26 GB, free: 94.52 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.71e-07/10.94, allocations: 3.938 kB / 4.26 GB, free: 94.52 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002983/10.94, allocations: 0.9373 MB / 4.261 GB, free: 93.58 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 () * 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.003662/10.94, allocations: 2.584 MB / 4.264 GB, free: 90.81 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003128/10.95, allocations: 2.137 MB / 4.266 GB, free: 88.68 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/10.95, allocations: 4 kB / 4.266 GB, free: 88.67 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/10.95, allocations: 1.137 MB / 4.267 GB, free: 87.54 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005987/10.95, allocations: 1.097 MB / 4.268 GB, free: 86.45 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007002/10.96, allocations: 4.139 MB / 4.272 GB, free: 82.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/10.96, allocations: 1.693 MB / 4.274 GB, free: 80.46 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003523/10.97, allocations: 0.747 MB / 4.274 GB, free: 79.71 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009648/10.97, allocations: 183.4 kB / 4.275 GB, free: 79.54 MB / 1.167 GB Notification: Performance of SimCode: time 1.413e-06/10.97, allocations: 0 / 4.275 GB, free: 79.54 MB / 1.167 GB Notification: Performance of Templates: time 0.09891/11.07, allocations: 72.04 MB / 4.345 GB, free: 7.734 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