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.243/2.243, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001215/0.001215, allocations: 187.2 kB / 498.1 MB, free: 5.676 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.611/1.611, allocations: 223.2 MB / 0.7948 GB, free: 17.98 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.001011/0.001011, allocations: 99.95 kB / 0.9346 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003788, allocations: 13.75 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3091, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.761/5.07, allocations: 1.937 GB / 3.16 GB, free: 76.09 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/5.071, allocations: 87.95 kB / 3.16 GB, free: 76 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.952/9.023, allocations: 1.042 GB / 4.202 GB, free: 204.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.535e-06/9.023, allocations: 0.6562 kB / 4.202 GB, free: 204.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002845/9.023, allocations: 57.16 kB / 4.202 GB, free: 204.9 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.01044/9.033, allocations: 2.972 MB / 4.205 GB, free: 204 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/9.033, allocations: 11.39 kB / 4.205 GB, free: 204 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001278/9.035, allocations: 286.3 kB / 4.206 GB, free: 204 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005241/9.04, allocations: 0.6625 MB / 4.206 GB, free: 203.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005215/9.045, allocations: 1.621 MB / 4.208 GB, free: 203.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001856/9.045, allocations: 147.9 kB / 4.208 GB, free: 203.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008792/9.046, allocations: 196.8 kB / 4.208 GB, free: 203.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006708/9.053, allocations: 2.324 MB / 4.21 GB, free: 203.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.745e-05/9.053, allocations: 2.531 kB / 4.21 GB, free: 203.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005736/9.054, allocations: 84.23 kB / 4.211 GB, free: 203.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/9.054, allocations: 94.27 kB / 4.211 GB, free: 203.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004965/9.059, allocations: 2.498 MB / 4.213 GB, free: 203.3 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.01503/9.074, allocations: 8.028 MB / 4.221 GB, free: 200.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003568/9.078, allocations: 2.303 MB / 4.223 GB, free: 200.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/9.079, allocations: 1.565 MB / 4.225 GB, free: 198.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.099e-05/9.079, allocations: 64.41 kB / 4.225 GB, free: 198.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=222): time 5.109e-06/9.079, allocations: 0 / 4.225 GB, free: 198.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=226): time 0.01371/9.093, allocations: 6.705 MB / 4.231 GB, free: 196.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/9.093, allocations: 150.9 kB / 4.231 GB, free: 196.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/9.095, allocations: 1.057 MB / 4.232 GB, free: 196.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003908/9.095, allocations: 68.89 kB / 4.233 GB, free: 196.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005755/9.096, allocations: 0.7591 MB / 4.233 GB, free: 196.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008609/9.097, allocations: 0.7674 MB / 4.234 GB, free: 195.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/9.097, allocations: 41.78 kB / 4.234 GB, free: 195.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000183/9.097, allocations: 384.4 kB / 4.234 GB, free: 195.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/9.098, allocations: 0.8526 MB / 4.235 GB, free: 195.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/9.1, allocations: 1.122 MB / 4.236 GB, free: 195.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.05652/9.157, allocations: 9.644 MB / 4.246 GB, free: 195.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/9.157, allocations: 7.828 kB / 4.246 GB, free: 195.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.005109/9.162, allocations: 2.376 MB / 4.248 GB, free: 195 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/9.162, allocations: 7.625 kB / 4.248 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/9.162, allocations: 14.42 kB / 4.248 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.096e-05/9.162, allocations: 11.47 kB / 4.248 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/9.164, allocations: 422.4 kB / 4.249 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.496e-05/9.164, allocations: 13.19 kB / 4.249 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002728/9.167, allocations: 191.9 kB / 4.249 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003281/9.167, allocations: 73.84 kB / 4.249 GB, free: 195 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.001365/9.168, allocations: 0.5661 MB / 4.249 GB, free: 194.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006896/9.169, allocations: 199.9 kB / 4.25 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004488/9.174, allocations: 2.513 MB / 4.252 GB, free: 194.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/9.174, allocations: 26.8 kB / 4.252 GB, free: 194.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.892e-05/9.174, allocations: 0 / 4.252 GB, free: 194.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003205/9.177, allocations: 2.078 MB / 4.254 GB, free: 194.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/9.188, allocations: 5.296 MB / 4.259 GB, free: 193.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.598e-05/9.188, allocations: 7.688 kB / 4.259 GB, free: 193.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002206/9.19, allocations: 466.2 kB / 4.26 GB, free: 193.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.792e-05/9.191, allocations: 14.62 kB / 4.26 GB, free: 193.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002399/9.191, allocations: 57.05 kB / 4.26 GB, free: 193.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.925e-05/9.191, allocations: 24.09 kB / 4.26 GB, free: 193.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/9.191, allocations: 14.2 kB / 4.26 GB, free: 193.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006729/9.198, allocations: 4.42 MB / 4.264 GB, free: 192.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001901/9.2, allocations: 0.5057 MB / 4.265 GB, free: 192.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006084/9.2, allocations: 50.62 kB / 4.265 GB, free: 192.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002503/9.203, allocations: 146.4 kB / 4.265 GB, free: 192.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002313/9.203, allocations: 149.2 kB / 4.265 GB, free: 192.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001866/9.203, allocations: 80.02 kB / 4.265 GB, free: 192.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001445/9.205, allocations: 0.8276 MB / 4.266 GB, free: 192.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/9.205, allocations: 3.375 kB / 4.266 GB, free: 192.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003655/9.208, allocations: 0.9284 MB / 4.267 GB, free: 192.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.01023/9.218, allocations: 9.26 MB / 4.276 GB, free: 187.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003925/9.222, allocations: 2.168 MB / 4.278 GB, free: 187.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/9.223, allocations: 3.719 kB / 4.278 GB, free: 187.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001731/9.224, allocations: 1.16 MB / 4.279 GB, free: 187.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005878/9.23, allocations: 1.093 MB / 4.28 GB, free: 187.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02606/9.256, allocations: 16.85 MB / 4.297 GB, free: 180.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001729/9.258, allocations: 1.697 MB / 4.298 GB, free: 179.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003476/9.262, allocations: 0.7528 MB / 4.299 GB, free: 179.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001543/9.263, allocations: 0.8342 MB / 4.3 GB, free: 179.3 MB / 1.167 GB Notification: Performance of SimCode: time 9.32e-07/9.263, allocations: 0 / 4.3 GB, free: 179.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1345/9.398, allocations: 91.74 MB / 4.389 GB, free: 149.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/9.398, allocations: 240.1 kB / 4.39 GB, free: 149.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.9/14.3, allocations: 0 / 4.39 GB, free: 149.4 MB / 1.167 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