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.344/2.344, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001096/0.001095, allocations: 176.8 kB / 498.1 MB, free: 5.73 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.623/1.623, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.001105/0.001105, allocations: 96.27 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.000433, allocations: 10.47 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3498, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.734/5.084, allocations: 1.937 GB / 3.16 GB, free: 49.78 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/5.085, allocations: 90.27 kB / 3.16 GB, free: 49.73 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 3.805/8.89, allocations: 1.043 GB / 4.203 GB, free: 204.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.493e-06/8.89, allocations: 0 / 4.203 GB, free: 204.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001411/8.89, allocations: 56.59 kB / 4.203 GB, free: 204.1 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.007368/8.897, allocations: 2.966 MB / 4.206 GB, free: 203.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/8.897, allocations: 7.031 kB / 4.206 GB, free: 203.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004911/8.898, allocations: 287.2 kB / 4.206 GB, free: 203.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003977/8.902, allocations: 0.6674 MB / 4.207 GB, free: 203 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003216/8.905, allocations: 1.621 MB / 4.208 GB, free: 202.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.021e-05/8.905, allocations: 149.7 kB / 4.209 GB, free: 202.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002689/8.905, allocations: 197.5 kB / 4.209 GB, free: 202.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003352/8.909, allocations: 2.308 MB / 4.211 GB, free: 202.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.687e-05/8.909, allocations: 3.797 kB / 4.211 GB, free: 202.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/8.909, allocations: 79.89 kB / 4.211 GB, free: 202.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.378e-05/8.909, allocations: 92.92 kB / 4.211 GB, free: 202.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004029/8.913, allocations: 2.499 MB / 4.214 GB, free: 202.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.01131/8.924, allocations: 7.875 MB / 4.221 GB, free: 199.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002702/8.927, allocations: 2.258 MB / 4.223 GB, free: 199.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/8.928, allocations: 1.562 MB / 4.225 GB, free: 197.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/8.928, allocations: 69.95 kB / 4.225 GB, free: 197.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=222): time 4.107e-06/8.928, allocations: 0 / 4.225 GB, free: 197.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=226): time 0.01026/8.939, allocations: 6.217 MB / 4.231 GB, free: 196.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/8.939, allocations: 104.5 kB / 4.231 GB, free: 196.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/8.94, allocations: 1.054 MB / 4.232 GB, free: 196.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001584/8.94, allocations: 69.58 kB / 4.232 GB, free: 196.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005272/8.941, allocations: 0.7653 MB / 4.233 GB, free: 196.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005492/8.941, allocations: 0.7582 MB / 4.234 GB, free: 195.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/8.942, allocations: 42.44 kB / 4.234 GB, free: 195.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001275/8.942, allocations: 383.7 kB / 4.234 GB, free: 195.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/8.943, allocations: 0.8518 MB / 4.235 GB, free: 195.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/8.944, allocations: 1.105 MB / 4.236 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.05776/9.002, allocations: 9.664 MB / 4.246 GB, free: 194.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/9.002, allocations: 0 / 4.246 GB, free: 194.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004583/9.007, allocations: 2.376 MB / 4.248 GB, free: 194.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/9.007, allocations: 7.188 kB / 4.248 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/9.007, allocations: 7.484 kB / 4.248 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.76e-05/9.007, allocations: 17.53 kB / 4.248 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/9.009, allocations: 421.6 kB / 4.248 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.501e-05/9.009, allocations: 18.5 kB / 4.248 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002637/9.011, allocations: 180.8 kB / 4.249 GB, free: 194.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002709/9.012, allocations: 75.36 kB / 4.249 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.001358/9.013, allocations: 0.567 MB / 4.249 GB, free: 194.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005577/9.013, allocations: 201.5 kB / 4.249 GB, free: 194.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003933/9.017, allocations: 2.517 MB / 4.252 GB, free: 194.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/9.017, allocations: 22.16 kB / 4.252 GB, free: 194.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/9.017, allocations: 3.688 kB / 4.252 GB, free: 194.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002687/9.02, allocations: 2.088 MB / 4.254 GB, free: 194.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008746/9.029, allocations: 5.286 MB / 4.259 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/9.029, allocations: 7.344 kB / 4.259 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001933/9.031, allocations: 466 kB / 4.259 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.222e-05/9.031, allocations: 14.06 kB / 4.26 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001689/9.031, allocations: 58.12 kB / 4.26 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.538e-05/9.031, allocations: 17.16 kB / 4.26 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/9.031, allocations: 10.81 kB / 4.26 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005027/9.036, allocations: 4.247 MB / 4.264 GB, free: 192.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/9.038, allocations: 0.4982 MB / 4.264 GB, free: 192.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004913/9.038, allocations: 49.81 kB / 4.264 GB, free: 192.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00211/9.04, allocations: 149.8 kB / 4.264 GB, free: 192.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/9.04, allocations: 148 kB / 4.265 GB, free: 192.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/9.041, allocations: 82.78 kB / 4.265 GB, free: 192.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001269/9.042, allocations: 0.8288 MB / 4.265 GB, free: 192.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/9.042, allocations: 0 / 4.265 GB, free: 192.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003167/9.045, allocations: 0.9304 MB / 4.266 GB, free: 192.2 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.008842/9.054, allocations: 8.961 MB / 4.275 GB, free: 188 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003352/9.057, allocations: 2.166 MB / 4.277 GB, free: 188 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/9.057, allocations: 2.5 kB / 4.277 GB, free: 188 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/9.059, allocations: 1.161 MB / 4.278 GB, free: 188 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005681/9.065, allocations: 1.093 MB / 4.279 GB, free: 188 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02312/9.088, allocations: 16.56 MB / 4.296 GB, free: 180.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/9.089, allocations: 1.695 MB / 4.297 GB, free: 179.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003027/9.092, allocations: 0.7502 MB / 4.298 GB, free: 179.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/9.094, allocations: 0.8424 MB / 4.299 GB, free: 179.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.803e-06/9.094, allocations: 0 / 4.299 GB, free: 179.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1272/9.221, allocations: 91.83 MB / 4.388 GB, free: 137.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/9.221, allocations: 244.5 kB / 4.389 GB, free: 136.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.867/14.09, allocations: 0 / 4.389 GB, free: 136.9 MB / 1.167 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