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.343/2.343, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001193/0.001193, allocations: 182.5 kB / 0.4901 GB, free: 2.242 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.555/1.555, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.001132/0.001132, allocations: 97.03 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003719, allocations: 7 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3287, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.532/4.861, allocations: 1.938 GB / 3.167 GB, free: 14.91 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/4.861, allocations: 93.39 kB / 3.167 GB, free: 14.86 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.117/8.979, allocations: 1.043 GB / 4.21 GB, free: 204.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.304e-06/8.979, allocations: 0 / 4.21 GB, free: 204.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001656/8.979, allocations: 60.31 kB / 4.21 GB, free: 204.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.009445/8.988, allocations: 2.971 MB / 4.213 GB, free: 203.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/8.988, allocations: 7.781 kB / 4.213 GB, free: 203.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008481/8.989, allocations: 286.3 kB / 4.213 GB, free: 203.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004799/8.994, allocations: 0.6606 MB / 4.214 GB, free: 203.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004308/8.998, allocations: 1.633 MB / 4.216 GB, free: 202.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/8.999, allocations: 155.9 kB / 4.216 GB, free: 202.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007124/8.999, allocations: 195.7 kB / 4.216 GB, free: 202.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005662/9.005, allocations: 2.307 MB / 4.218 GB, free: 202.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-05/9.005, allocations: 6.531 kB / 4.218 GB, free: 202.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000359/9.005, allocations: 83.89 kB / 4.218 GB, free: 202.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/9.006, allocations: 88.28 kB / 4.218 GB, free: 202.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004197/9.01, allocations: 2.5 MB / 4.221 GB, free: 202.6 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.0128/9.023, allocations: 7.868 MB / 4.228 GB, free: 199.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00356/9.026, allocations: 2.262 MB / 4.231 GB, free: 199.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/9.028, allocations: 1.559 MB / 4.232 GB, free: 197.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.403e-05/9.028, allocations: 66 kB / 4.232 GB, free: 197.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=222): time 3.817e-06/9.028, allocations: 0 / 4.232 GB, free: 197.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=226): time 0.01297/9.041, allocations: 6.221 MB / 4.238 GB, free: 196.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/9.041, allocations: 106.6 kB / 4.238 GB, free: 196.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001676/9.042, allocations: 1.056 MB / 4.239 GB, free: 196.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002452/9.043, allocations: 66.86 kB / 4.239 GB, free: 196.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005378/9.043, allocations: 0.7569 MB / 4.24 GB, free: 196.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007234/9.044, allocations: 0.7651 MB / 4.241 GB, free: 195.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/9.044, allocations: 42.56 kB / 4.241 GB, free: 195.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000135/9.044, allocations: 393.2 kB / 4.241 GB, free: 195.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/9.045, allocations: 0.8537 MB / 4.242 GB, free: 195.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/9.047, allocations: 1.101 MB / 4.243 GB, free: 195.1 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.05934/9.106, allocations: 9.657 MB / 4.253 GB, free: 194.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.454e-05/9.106, allocations: 3.812 kB / 4.253 GB, free: 194.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004074/9.11, allocations: 2.373 MB / 4.255 GB, free: 194.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/9.11, allocations: 6.375 kB / 4.255 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/9.11, allocations: 7.031 kB / 4.255 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.001e-05/9.11, allocations: 10.56 kB / 4.255 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/9.112, allocations: 428 kB / 4.255 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.637e-05/9.112, allocations: 19.97 kB / 4.256 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002632/9.115, allocations: 183 kB / 4.256 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/9.115, allocations: 71.41 kB / 4.256 GB, free: 194.7 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.001361/9.116, allocations: 0.5651 MB / 4.256 GB, free: 194.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005362/9.117, allocations: 197.5 kB / 4.256 GB, free: 194.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004019/9.121, allocations: 2.515 MB / 4.259 GB, free: 194.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/9.121, allocations: 23.97 kB / 4.259 GB, free: 194.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/9.121, allocations: 3.688 kB / 4.259 GB, free: 194.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002675/9.124, allocations: 2.091 MB / 4.261 GB, free: 194.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009152/9.133, allocations: 5.288 MB / 4.266 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/9.133, allocations: 6.562 kB / 4.266 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001935/9.135, allocations: 464.2 kB / 4.267 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.041e-05/9.135, allocations: 15.34 kB / 4.267 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/9.135, allocations: 59.56 kB / 4.267 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-05/9.135, allocations: 16.81 kB / 4.267 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/9.135, allocations: 9.906 kB / 4.267 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005118/9.14, allocations: 4.248 MB / 4.271 GB, free: 192.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/9.142, allocations: 0.4938 MB / 4.271 GB, free: 192.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004159/9.142, allocations: 52.88 kB / 4.271 GB, free: 192.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001938/9.144, allocations: 155.7 kB / 4.272 GB, free: 192.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/9.145, allocations: 150 kB / 4.272 GB, free: 192.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/9.145, allocations: 77.33 kB / 4.272 GB, free: 192.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001133/9.146, allocations: 0.8274 MB / 4.273 GB, free: 192.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/9.146, allocations: 0 / 4.273 GB, free: 192.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003248/9.149, allocations: 0.9262 MB / 4.273 GB, free: 192.1 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.009226/9.158, allocations: 8.957 MB / 4.282 GB, free: 188 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003225/9.162, allocations: 2.165 MB / 4.284 GB, free: 188 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/9.162, allocations: 3.844 kB / 4.284 GB, free: 188 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001557/9.163, allocations: 1.156 MB / 4.285 GB, free: 188 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005245/9.169, allocations: 1.09 MB / 4.287 GB, free: 187.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02259/9.191, allocations: 16.57 MB / 4.303 GB, free: 179.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/9.193, allocations: 1.689 MB / 4.304 GB, free: 178.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003186/9.196, allocations: 0.7524 MB / 4.305 GB, free: 178.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/9.197, allocations: 0.8393 MB / 4.306 GB, free: 177.7 MB / 1.167 GB Notification: Performance of SimCode: time 2.825e-06/9.197, allocations: 0 / 4.306 GB, free: 177.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1325/9.33, allocations: 91.83 MB / 4.396 GB, free: 102.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/9.33, allocations: 251 kB / 4.396 GB, free: 102.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.87/14.2, allocations: 4 kB / 4.396 GB, free: 102.3 MB / 1.167 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