Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",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.273/2.273, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001178/0.001178, allocations: 180.7 kB / 487.4 MB, free: 5.043 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.574/1.574, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 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.000916/0.0009159, allocations: 99.02 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.996e-05/2e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3504, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.482/6.833, allocations: 1.937 GB / 3.143 GB, free: 346.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/6.833, allocations: 83.86 kB / 3.143 GB, free: 346.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 3.87/10.7, allocations: 1.03 GB / 4.173 GB, free: 184.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.916e-06/10.7, allocations: 0 / 4.173 GB, free: 184.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001716/10.7, allocations: 60.88 kB / 4.173 GB, free: 184.6 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.009185/10.71, allocations: 2.64 MB / 4.176 GB, free: 182.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/10.71, allocations: 11.38 kB / 4.176 GB, free: 182.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005234/10.72, allocations: 0.6624 MB / 4.176 GB, free: 181.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00395/10.72, allocations: 1.615 MB / 4.178 GB, free: 180.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.544e-05/10.72, allocations: 60 kB / 4.178 GB, free: 180.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002947/10.72, allocations: 120 kB / 4.178 GB, free: 180.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003586/10.73, allocations: 2.273 MB / 4.18 GB, free: 177.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003198/10.73, allocations: 2.012 MB / 4.182 GB, free: 175.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.545e-05/10.73, allocations: 7.891 kB / 4.182 GB, free: 175.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/10.73, allocations: 0 / 4.182 GB, free: 175.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.597e-05/10.73, allocations: 91.38 kB / 4.182 GB, free: 175.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 preOpt removeSimpleEquations (simulation): time 0.01104/10.74, allocations: 7.685 MB / 4.19 GB, free: 167.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003019/10.74, allocations: 2.948 MB / 4.193 GB, free: 164.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/10.75, allocations: 1.219 MB / 4.194 GB, free: 163.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001198/10.75, allocations: 1.565 MB / 4.195 GB, free: 161.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.531e-05/10.75, allocations: 59.53 kB / 4.195 GB, free: 161.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 4.909e-06/10.75, allocations: 0 / 4.195 GB, free: 161.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=226): time 0.0118/10.76, allocations: 5.676 MB / 4.201 GB, free: 155.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/10.76, allocations: 157.5 kB / 4.201 GB, free: 155.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/10.76, allocations: 0.8771 MB / 4.202 GB, free: 154.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001994/10.76, allocations: 25.7 kB / 4.202 GB, free: 154.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/10.76, allocations: 0.76 MB / 4.203 GB, free: 153.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005746/10.76, allocations: 0.7347 MB / 4.203 GB, free: 152.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.108e-05/10.76, allocations: 4 kB / 4.203 GB, free: 152.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001176/10.76, allocations: 385.3 kB / 4.204 GB, free: 152.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009838/10.76, allocations: 0.7693 MB / 4.205 GB, free: 151.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/10.76, allocations: 1.014 MB / 4.206 GB, free: 150.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 (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.008939/10.77, allocations: 3.31 MB / 4.209 GB, free: 147.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.689e-05/10.77, allocations: 4 kB / 4.209 GB, free: 147.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004577/10.78, allocations: 2.235 MB / 4.211 GB, free: 145.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/10.78, allocations: 8 kB / 4.211 GB, free: 145.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/10.78, allocations: 4 kB / 4.211 GB, free: 145.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.307e-05/10.78, allocations: 20.03 kB / 4.211 GB, free: 145.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/10.78, allocations: 427.4 kB / 4.211 GB, free: 144.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.338e-05/10.78, allocations: 27.2 kB / 4.211 GB, free: 144.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/10.78, allocations: 140.8 kB / 4.212 GB, free: 144.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002105/10.78, allocations: 75.98 kB / 4.212 GB, free: 144.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: 21 * 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.0004339/10.78, allocations: 148.4 kB / 4.212 GB, free: 144.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00426/10.79, allocations: 2.083 MB / 4.214 GB, free: 142.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008355/10.79, allocations: 189.8 kB / 4.214 GB, free: 142.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004358/10.79, allocations: 2.342 MB / 4.216 GB, free: 139.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/10.79, allocations: 24 kB / 4.216 GB, free: 139.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/10.79, allocations: 8.062 kB / 4.216 GB, free: 139.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003042/10.79, allocations: 1.975 MB / 4.218 GB, free: 137.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.009977/10.8, allocations: 5.358 MB / 4.224 GB, free: 132.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.037e-05/10.8, allocations: 4 kB / 4.224 GB, free: 132.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001981/10.81, allocations: 466.7 kB / 4.224 GB, free: 131.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.527e-05/10.81, allocations: 16 kB / 4.224 GB, free: 131.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001907/10.81, allocations: 31.98 kB / 4.224 GB, free: 131.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.022e-05/10.81, allocations: 12 kB / 4.224 GB, free: 131.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/10.81, allocations: 11.94 kB / 4.224 GB, free: 131.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005719/10.81, allocations: 4.217 MB / 4.228 GB, free: 127.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001515/10.81, allocations: 494.5 kB / 4.229 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005176/10.81, allocations: 15.98 kB / 4.229 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002412/10.82, allocations: 109.6 kB / 4.229 GB, free: 126.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/10.82, allocations: 148.6 kB / 4.229 GB, free: 126.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001915/10.82, allocations: 79.97 kB / 4.229 GB, free: 126.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001381/10.82, allocations: 0.6689 MB / 4.23 GB, free: 125.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.61e-07/10.82, allocations: 0 / 4.23 GB, free: 125.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003813/10.82, allocations: 0.7811 MB / 4.23 GB, free: 125 MB / 1.151 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 () * 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.01112/10.83, allocations: 9.313 MB / 4.239 GB, free: 115.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003839/10.84, allocations: 1.959 MB / 4.241 GB, free: 113.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.81e-05/10.84, allocations: 4 kB / 4.241 GB, free: 113.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001726/10.84, allocations: 1.057 MB / 4.242 GB, free: 112.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006223/10.85, allocations: 0.9688 MB / 4.243 GB, free: 111.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/10.86, allocations: 4.454 MB / 4.248 GB, free: 107.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00169/10.86, allocations: 1.694 MB / 4.249 GB, free: 105.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00328/10.86, allocations: 0.7331 MB / 4.25 GB, free: 104.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001491/10.86, allocations: 0.8312 MB / 4.251 GB, free: 104 MB / 1.151 GB Notification: Performance of SimCode: time 1.883e-06/10.86, allocations: 0 / 4.251 GB, free: 104 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1149/10.98, allocations: 69.32 MB / 4.319 GB, free: 35.32 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000149/10.98, allocations: 180.1 kB / 4.319 GB, free: 35.13 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.449/15.43, allocations: 0 / 4.319 GB, free: 35.13 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic_res.mat does not exist to compare? outputFormat=mat