Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",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.288/2.288, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001101/0.0011, allocations: 187.9 kB / 0.4901 GB, free: 2.25 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.656/1.656, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.001091/0.001091, allocations: 102.5 kB / 0.9396 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003717, allocations: 10.53 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3132, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.612/4.926, allocations: 1.938 GB / 3.167 GB, free: 41.84 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/4.926, allocations: 92.61 kB / 3.167 GB, free: 41.75 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.12/9.046, allocations: 1.042 GB / 4.21 GB, free: 203.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.784e-06/9.046, allocations: 0 / 4.21 GB, free: 203.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000144/9.047, allocations: 58.45 kB / 4.21 GB, free: 203.2 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.008656/9.055, allocations: 2.969 MB / 4.213 GB, free: 202.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/9.055, allocations: 7.891 kB / 4.213 GB, free: 202.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006713/9.056, allocations: 284.4 kB / 4.213 GB, free: 202.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005163/9.061, allocations: 0.6641 MB / 4.213 GB, free: 202 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004079/9.065, allocations: 1.624 MB / 4.215 GB, free: 201.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/9.065, allocations: 153.8 kB / 4.215 GB, free: 201.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004745/9.066, allocations: 198.4 kB / 4.215 GB, free: 201.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003974/9.07, allocations: 2.319 MB / 4.218 GB, free: 201.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.732e-05/9.07, allocations: 6.969 kB / 4.218 GB, free: 201.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000197/9.07, allocations: 78.97 kB / 4.218 GB, free: 201.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.407e-05/9.07, allocations: 87.73 kB / 4.218 GB, free: 201.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003608/9.074, allocations: 2.499 MB / 4.22 GB, free: 201.5 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.01235/9.086, allocations: 8.028 MB / 4.228 GB, free: 198.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003192/9.089, allocations: 2.291 MB / 4.23 GB, free: 198.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/9.091, allocations: 1.569 MB / 4.232 GB, free: 196.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/9.091, allocations: 65.23 kB / 4.232 GB, free: 196.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=222): time 4.409e-06/9.091, allocations: 3.703 kB / 4.232 GB, free: 196.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=226): time 0.01115/9.102, allocations: 6.709 MB / 4.238 GB, free: 195 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/9.102, allocations: 158 kB / 4.239 GB, free: 194.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/9.103, allocations: 1.052 MB / 4.24 GB, free: 194.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000173/9.104, allocations: 67.77 kB / 4.24 GB, free: 194.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004414/9.104, allocations: 0.7656 MB / 4.24 GB, free: 194.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005427/9.105, allocations: 0.7582 MB / 4.241 GB, free: 193.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/9.105, allocations: 46.62 kB / 4.241 GB, free: 193.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001054/9.105, allocations: 383.1 kB / 4.242 GB, free: 193.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/9.106, allocations: 0.8563 MB / 4.242 GB, free: 193.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/9.107, allocations: 1.111 MB / 4.244 GB, free: 193.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 (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.05626/9.163, allocations: 9.647 MB / 4.253 GB, free: 193.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/9.164, allocations: 0 / 4.253 GB, free: 193.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004188/9.168, allocations: 2.381 MB / 4.255 GB, free: 192.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/9.168, allocations: 7.844 kB / 4.255 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/9.168, allocations: 3.875 kB / 4.255 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.639e-05/9.168, allocations: 15.22 kB / 4.255 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/9.17, allocations: 427.7 kB / 4.256 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.317e-05/9.17, allocations: 17.95 kB / 4.256 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/9.172, allocations: 184.5 kB / 4.256 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/9.172, allocations: 74.45 kB / 4.256 GB, free: 192.9 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: 21 * 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.001328/9.174, allocations: 0.567 MB / 4.257 GB, free: 192.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005332/9.174, allocations: 196.5 kB / 4.257 GB, free: 192.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003979/9.178, allocations: 2.511 MB / 4.259 GB, free: 192.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.55e-05/9.178, allocations: 22.12 kB / 4.259 GB, free: 192.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/9.178, allocations: 6.219 kB / 4.259 GB, free: 192.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002677/9.181, allocations: 2.081 MB / 4.261 GB, free: 192.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008506/9.189, allocations: 5.305 MB / 4.266 GB, free: 191.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/9.19, allocations: 7.219 kB / 4.266 GB, free: 191.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001941/9.191, allocations: 459.9 kB / 4.267 GB, free: 191.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.318e-05/9.192, allocations: 20.38 kB / 4.267 GB, free: 191.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/9.192, allocations: 56.95 kB / 4.267 GB, free: 191.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.577e-05/9.192, allocations: 21.14 kB / 4.267 GB, free: 191.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.17e-05/9.192, allocations: 14.95 kB / 4.267 GB, free: 191.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004963/9.197, allocations: 4.43 MB / 4.271 GB, free: 190.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/9.198, allocations: 0.4952 MB / 4.272 GB, free: 190.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000303/9.198, allocations: 51.91 kB / 4.272 GB, free: 190.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/9.2, allocations: 148 kB / 4.272 GB, free: 190.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/9.2, allocations: 148.4 kB / 4.272 GB, free: 190.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/9.201, allocations: 80.66 kB / 4.272 GB, free: 190.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00113/9.202, allocations: 0.8307 MB / 4.273 GB, free: 190.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.71e-07/9.202, allocations: 0 / 4.273 GB, free: 190.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003268/9.205, allocations: 0.9235 MB / 4.274 GB, free: 190.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (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,dooDis.mExcBA,dooDis.mExcAB) * 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.009687/9.215, allocations: 9.268 MB / 4.283 GB, free: 185.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003837/9.219, allocations: 2.162 MB / 4.285 GB, free: 185.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-05/9.219, allocations: 3.688 kB / 4.285 GB, free: 185.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001734/9.22, allocations: 1.164 MB / 4.286 GB, free: 185.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00577/9.226, allocations: 1.099 MB / 4.287 GB, free: 185.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02777/9.254, allocations: 16.84 MB / 4.304 GB, free: 178 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001992/9.256, allocations: 1.7 MB / 4.305 GB, free: 177.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003646/9.26, allocations: 0.7495 MB / 4.306 GB, free: 177.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001668/9.261, allocations: 0.8339 MB / 4.307 GB, free: 177.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.763e-06/9.261, allocations: 0 / 4.307 GB, free: 177.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1449/9.406, allocations: 91.75 MB / 4.397 GB, free: 118.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/9.407, allocations: 233.9 kB / 4.397 GB, free: 118.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.961/14.37, allocations: 6.875 kB / 4.397 GB, free: 118.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat does not exist to compare? outputFormat=mat