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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.305/2.305, allocations: 390.5 MB / 398 MB, free: 10.96 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.001079/0.001079, allocations: 180.8 kB / 491.2 MB, free: 1.562 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.644/1.644, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.00112/0.00112, allocations: 95.59 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.051e-05/2.061e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3134, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.333/6.646, allocations: 1.937 GB / 3.15 GB, free: 391 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/6.647, allocations: 93.56 kB / 3.15 GB, free: 390.9 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 - DAE generated: time 4.338/10.98, allocations: 1.031 GB / 4.181 GB, free: 186.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.933e-06/10.98, allocations: 0 / 4.181 GB, free: 186.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003401/10.99, allocations: 60.47 kB / 4.181 GB, free: 186.4 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.01109/11, allocations: 2.63 MB / 4.183 GB, free: 184.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/11, allocations: 13.22 kB / 4.183 GB, free: 184.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00584/11, allocations: 0.6685 MB / 4.184 GB, free: 184.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0056/11.01, allocations: 1.615 MB / 4.185 GB, free: 183.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/11.01, allocations: 59.47 kB / 4.186 GB, free: 183.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/11.01, allocations: 119.9 kB / 4.186 GB, free: 183.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005918/11.02, allocations: 2.271 MB / 4.188 GB, free: 182.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006017/11.02, allocations: 2.002 MB / 4.19 GB, free: 181.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.665e-05/11.02, allocations: 7.891 kB / 4.19 GB, free: 181.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004189/11.02, allocations: 3.062 kB / 4.19 GB, free: 181.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/11.02, allocations: 95.86 kB / 4.19 GB, free: 181.3 MB / 1.151 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.01479/11.04, allocations: 7.511 MB / 4.197 GB, free: 175.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003988/11.04, allocations: 2.932 MB / 4.2 GB, free: 173.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/11.04, allocations: 1.206 MB / 4.201 GB, free: 172 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001373/11.04, allocations: 1.565 MB / 4.203 GB, free: 170.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.989e-05/11.04, allocations: 56.44 kB / 4.203 GB, free: 170.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 3.887e-06/11.04, allocations: 0 / 4.203 GB, free: 170.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=226): time 0.01358/11.06, allocations: 5.199 MB / 4.208 GB, free: 164.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/11.06, allocations: 104.8 kB / 4.208 GB, free: 164.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/11.06, allocations: 0.8769 MB / 4.209 GB, free: 163.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002055/11.06, allocations: 25.7 kB / 4.209 GB, free: 163.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006544/11.06, allocations: 0.7677 MB / 4.21 GB, free: 163 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007571/11.06, allocations: 0.733 MB / 4.21 GB, free: 162.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/11.06, allocations: 0 / 4.21 GB, free: 162.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001735/11.06, allocations: 385.9 kB / 4.211 GB, free: 161.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/11.06, allocations: 0.7654 MB / 4.212 GB, free: 161.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/11.06, allocations: 1.014 MB / 4.213 GB, free: 160 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.009364/11.07, allocations: 3.313 MB / 4.216 GB, free: 156.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/11.07, allocations: 4 kB / 4.216 GB, free: 156.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004737/11.08, allocations: 2.233 MB / 4.218 GB, free: 154.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/11.08, allocations: 8 kB / 4.218 GB, free: 154.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/11.08, allocations: 4 kB / 4.218 GB, free: 154.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.109e-05/11.08, allocations: 18.06 kB / 4.218 GB, free: 154.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/11.08, allocations: 431.3 kB / 4.218 GB, free: 154 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.952e-05/11.08, allocations: 12 kB / 4.218 GB, free: 154 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003056/11.08, allocations: 154.4 kB / 4.219 GB, free: 153.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003232/11.08, allocations: 71.98 kB / 4.219 GB, free: 153.8 MB / 1.151 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.0005836/11.08, allocations: 148.5 kB / 4.219 GB, free: 153.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005105/11.09, allocations: 2.084 MB / 4.221 GB, free: 151.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009267/11.09, allocations: 185.8 kB / 4.221 GB, free: 151.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005285/11.1, allocations: 2.343 MB / 4.223 GB, free: 149.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-05/11.1, allocations: 26.81 kB / 4.223 GB, free: 149 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.576e-05/11.1, allocations: 0 / 4.223 GB, free: 149 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003594/11.1, allocations: 1.987 MB / 4.225 GB, free: 147 MB / 1.151 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 postOpt removeSimpleEquations (simulation): time 0.0131/11.11, allocations: 5.339 MB / 4.23 GB, free: 141.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/11.11, allocations: 4 kB / 4.23 GB, free: 141.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002028/11.11, allocations: 463.3 kB / 4.231 GB, free: 141.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.186e-05/11.11, allocations: 16 kB / 4.231 GB, free: 141.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001909/11.11, allocations: 27.98 kB / 4.231 GB, free: 141.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.861e-05/11.12, allocations: 23.8 kB / 4.231 GB, free: 141 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/11.12, allocations: 11.94 kB / 4.231 GB, free: 141 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006018/11.12, allocations: 4.024 MB / 4.235 GB, free: 136.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00161/11.12, allocations: 490.6 kB / 4.235 GB, free: 136.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006337/11.12, allocations: 12 kB / 4.235 GB, free: 136.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002435/11.13, allocations: 121.5 kB / 4.235 GB, free: 136.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/11.13, allocations: 149 kB / 4.236 GB, free: 136.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002545/11.13, allocations: 78.81 kB / 4.236 GB, free: 136 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001417/11.13, allocations: 0.6728 MB / 4.236 GB, free: 135.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.91e-07/11.13, allocations: 3.062 kB / 4.236 GB, free: 135.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003827/11.13, allocations: 0.7726 MB / 4.237 GB, free: 134.5 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.0121/11.14, allocations: 9.002 MB / 4.246 GB, free: 125.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003561/11.15, allocations: 1.96 MB / 4.248 GB, free: 123.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-05/11.15, allocations: 4 kB / 4.248 GB, free: 123.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001473/11.15, allocations: 1.052 MB / 4.249 GB, free: 122.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006541/11.16, allocations: 0.9747 MB / 4.25 GB, free: 121.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/11.17, allocations: 4.455 MB / 4.254 GB, free: 117.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002394/11.17, allocations: 1.701 MB / 4.256 GB, free: 115.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003952/11.17, allocations: 0.737 MB / 4.257 GB, free: 114.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001799/11.18, allocations: 0.8312 MB / 4.257 GB, free: 114 MB / 1.151 GB Notification: Performance of SimCode: time 2.345e-06/11.18, allocations: 0 / 4.257 GB, free: 114 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1193/11.3, allocations: 69.39 MB / 4.325 GB, free: 45.38 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/11.3, allocations: 195.8 kB / 4.325 GB, free: 45.12 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.614/15.91, allocations: 0 / 4.325 GB, free: 45.12 MB / 1.151 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic_res.mat does not exist to compare? outputFormat=mat