Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.253/2.253, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.00109/0.00109, allocations: 176.6 kB / 487.4 MB, free: 5.066 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.657/1.657, allocations: 221.5 MB / 0.7824 GB, free: 1 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009928/0.0009924, allocations: 103.8 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.979e-05/1.972e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3271, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.589/6.916, allocations: 1.937 GB / 3.143 GB, free: 347.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/6.917, allocations: 84.23 kB / 3.143 GB, free: 347.7 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 3.691/10.61, allocations: 1.031 GB / 4.173 GB, free: 184.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 7.444e-06/10.61, allocations: 0 / 4.173 GB, free: 184.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001629/10.61, allocations: 65.16 kB / 4.174 GB, free: 184.5 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.00849/10.62, allocations: 2.629 MB / 4.176 GB, free: 182.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/10.62, allocations: 12.03 kB / 4.176 GB, free: 182.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005073/10.62, allocations: 0.6628 MB / 4.177 GB, free: 182.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004541/10.63, allocations: 1.62 MB / 4.178 GB, free: 180.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.41e-05/10.63, allocations: 60 kB / 4.178 GB, free: 180.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002969/10.63, allocations: 112 kB / 4.179 GB, free: 180.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004046/10.63, allocations: 2.276 MB / 4.181 GB, free: 178 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003441/10.63, allocations: 1.999 MB / 4.183 GB, free: 176 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.381e-05/10.63, allocations: 15.89 kB / 4.183 GB, free: 176 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/10.63, allocations: 0 / 4.183 GB, free: 176 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.911e-05/10.63, allocations: 84.3 kB / 4.183 GB, free: 175.9 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.01074/10.65, allocations: 7.532 MB / 4.19 GB, free: 168 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002871/10.65, allocations: 2.926 MB / 4.193 GB, free: 164.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/10.65, allocations: 1.208 MB / 4.194 GB, free: 163.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/10.65, allocations: 1.562 MB / 4.196 GB, free: 161.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/10.65, allocations: 64.38 kB / 4.196 GB, free: 161.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 4.829e-06/10.65, allocations: 0 / 4.196 GB, free: 161.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=226): time 0.01066/10.66, allocations: 5.189 MB / 4.201 GB, free: 156.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/10.66, allocations: 103.1 kB / 4.201 GB, free: 156.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/10.66, allocations: 0.8771 MB / 4.202 GB, free: 155.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001739/10.66, allocations: 36.45 kB / 4.202 GB, free: 155.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/10.66, allocations: 0.76 MB / 4.203 GB, free: 154.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005095/10.66, allocations: 0.731 MB / 4.203 GB, free: 153.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.833e-05/10.66, allocations: 0 / 4.203 GB, free: 153.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001216/10.66, allocations: 385.9 kB / 4.204 GB, free: 153.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009684/10.67, allocations: 0.7693 MB / 4.204 GB, free: 152.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/10.67, allocations: 1.01 MB / 4.205 GB, free: 151.7 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.008542/10.67, allocations: 3.31 MB / 4.209 GB, free: 148.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/10.67, allocations: 3.938 kB / 4.209 GB, free: 148.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003858/10.68, allocations: 2.244 MB / 4.211 GB, free: 146.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/10.68, allocations: 5.406 kB / 4.211 GB, free: 146.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/10.68, allocations: 4 kB / 4.211 GB, free: 146.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.465e-05/10.68, allocations: 16 kB / 4.211 GB, free: 146.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/10.68, allocations: 423.4 kB / 4.211 GB, free: 145.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/10.68, allocations: 21.98 kB / 4.211 GB, free: 145.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/10.68, allocations: 148.8 kB / 4.211 GB, free: 145.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/10.68, allocations: 75.98 kB / 4.211 GB, free: 145.5 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.0003587/10.68, allocations: 140.5 kB / 4.212 GB, free: 145.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003603/10.69, allocations: 2.082 MB / 4.214 GB, free: 143.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002906/10.69, allocations: 193.8 kB / 4.214 GB, free: 143.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003953/10.69, allocations: 2.342 MB / 4.216 GB, free: 140.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/10.69, allocations: 20 kB / 4.216 GB, free: 140.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/10.69, allocations: 0 / 4.216 GB, free: 140.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002807/10.69, allocations: 1.99 MB / 4.218 GB, free: 138.7 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.008101/10.7, allocations: 5.334 MB / 4.223 GB, free: 133.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/10.7, allocations: 12.06 kB / 4.223 GB, free: 133.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001844/10.7, allocations: 462.6 kB / 4.224 GB, free: 132.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.281e-05/10.7, allocations: 12 kB / 4.224 GB, free: 132.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/10.7, allocations: 31.98 kB / 4.224 GB, free: 132.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.404e-05/10.7, allocations: 19.92 kB / 4.224 GB, free: 132.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/10.7, allocations: 8 kB / 4.224 GB, free: 132.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004854/10.71, allocations: 4.033 MB / 4.228 GB, free: 128.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/10.71, allocations: 490.6 kB / 4.228 GB, free: 128 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/10.71, allocations: 12 kB / 4.228 GB, free: 128 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/10.71, allocations: 119.1 kB / 4.228 GB, free: 127.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/10.71, allocations: 149.5 kB / 4.228 GB, free: 127.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/10.71, allocations: 83.5 kB / 4.229 GB, free: 127.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009458/10.71, allocations: 0.6689 MB / 4.229 GB, free: 127 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/10.71, allocations: 0 / 4.229 GB, free: 127 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002662/10.72, allocations: 0.7811 MB / 4.23 GB, free: 126.2 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.009154/10.73, allocations: 9.002 MB / 4.239 GB, free: 117.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002966/10.73, allocations: 1.966 MB / 4.241 GB, free: 115.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/10.73, allocations: 3.938 kB / 4.241 GB, free: 115.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/10.73, allocations: 1.055 MB / 4.242 GB, free: 114.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005375/10.74, allocations: 0.961 MB / 4.243 GB, free: 113.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008098/10.74, allocations: 4.459 MB / 4.247 GB, free: 108.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/10.74, allocations: 1.693 MB / 4.249 GB, free: 107.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002704/10.75, allocations: 0.7298 MB / 4.249 GB, free: 106.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/10.75, allocations: 0.8391 MB / 4.25 GB, free: 105.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.273e-06/10.75, allocations: 0 / 4.25 GB, free: 105.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1095/10.86, allocations: 69.39 MB / 4.318 GB, free: 36.78 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/10.86, allocations: 185.8 kB / 4.318 GB, free: 36.59 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.497/15.36, allocations: 1.688 kB / 4.318 GB, free: 36.59 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic_res.mat does not exist to compare? outputFormat=mat