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.345/2.345, allocations: 387.1 MB / 399.7 MB, free: 9.527 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.001091/0.001091, allocations: 176.9 kB / 492.3 MB, free: 0.625 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.555/1.555, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0009905/0.0009908, allocations: 94.81 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.829e-05/3.839e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.331, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.174/6.505, allocations: 1.937 GB / 3.15 GB, free: 337.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/6.506, allocations: 90.72 kB / 3.15 GB, free: 337.6 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 4.03/10.54, allocations: 1.041 GB / 4.191 GB, free: 153 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.613e-06/10.54, allocations: 0 / 4.191 GB, free: 153 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002797/10.54, allocations: 58.5 kB / 4.191 GB, free: 152.9 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.009409/10.55, allocations: 2.633 MB / 4.194 GB, free: 150.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/10.55, allocations: 12.03 kB / 4.194 GB, free: 150.2 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001168/10.55, allocations: 278.5 kB / 4.194 GB, free: 150 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005143/10.55, allocations: 0.6643 MB / 4.195 GB, free: 149.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004725/10.56, allocations: 1.609 MB / 4.196 GB, free: 147.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/10.56, allocations: 151.8 kB / 4.196 GB, free: 147.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009048/10.56, allocations: 191.9 kB / 4.197 GB, free: 147.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006704/10.56, allocations: 2.293 MB / 4.199 GB, free: 145 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.689e-05/10.56, allocations: 0 / 4.199 GB, free: 145 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005309/10.56, allocations: 76 kB / 4.199 GB, free: 144.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.964e-05/10.57, allocations: 92.23 kB / 4.199 GB, free: 144.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004706/10.57, allocations: 2.461 MB / 4.201 GB, free: 142.3 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.0135/10.58, allocations: 8.023 MB / 4.209 GB, free: 133.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003235/10.59, allocations: 2.267 MB / 4.211 GB, free: 131.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0019/10.59, allocations: 1.297 MB / 4.213 GB, free: 130.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/10.59, allocations: 1.568 MB / 4.214 GB, free: 128.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.438e-05/10.59, allocations: 68.33 kB / 4.214 GB, free: 128.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 4.268e-06/10.59, allocations: 0 / 4.214 GB, free: 128.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=226): time 0.01114/10.6, allocations: 5.801 MB / 4.22 GB, free: 122.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/10.6, allocations: 150.6 kB / 4.22 GB, free: 122.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/10.6, allocations: 1.044 MB / 4.221 GB, free: 121.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002002/10.6, allocations: 65.7 kB / 4.221 GB, free: 121 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000409/10.6, allocations: 0.7685 MB / 4.222 GB, free: 120.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005814/10.6, allocations: 0.7583 MB / 4.223 GB, free: 119.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.616e-05/10.6, allocations: 40 kB / 4.223 GB, free: 119.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000121/10.6, allocations: 385.9 kB / 4.223 GB, free: 119.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/10.61, allocations: 0.8357 MB / 4.224 GB, free: 118.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/10.61, allocations: 1.095 MB / 4.225 GB, free: 117.1 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.05455/10.66, allocations: 9.649 MB / 4.234 GB, free: 107.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/10.66, allocations: 10.52 kB / 4.234 GB, free: 107.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004056/10.67, allocations: 2.345 MB / 4.237 GB, free: 105 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/10.67, allocations: 12.05 kB / 4.237 GB, free: 105 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/10.67, allocations: 8 kB / 4.237 GB, free: 105 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/10.67, allocations: 16 kB / 4.237 GB, free: 105 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/10.67, allocations: 423.4 kB / 4.237 GB, free: 104.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.767e-05/10.67, allocations: 19.98 kB / 4.237 GB, free: 104.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/10.67, allocations: 183.5 kB / 4.237 GB, free: 104.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/10.67, allocations: 76 kB / 4.237 GB, free: 104.3 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.000395/10.67, allocations: 220.6 kB / 4.238 GB, free: 104.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004148/10.67, allocations: 201.7 kB / 4.238 GB, free: 103.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003894/10.67, allocations: 2.482 MB / 4.24 GB, free: 101.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/10.67, allocations: 24 kB / 4.24 GB, free: 101.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/10.67, allocations: 3.75 kB / 4.24 GB, free: 101.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002542/10.68, allocations: 2.053 MB / 4.242 GB, free: 99.27 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008611/10.69, allocations: 5.313 MB / 4.247 GB, free: 93.82 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/10.69, allocations: 4 kB / 4.247 GB, free: 93.82 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001872/10.69, allocations: 463.4 kB / 4.248 GB, free: 93.36 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.068e-05/10.69, allocations: 12 kB / 4.248 GB, free: 93.35 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/10.69, allocations: 59.98 kB / 4.248 GB, free: 93.29 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-05/10.69, allocations: 19.94 kB / 4.248 GB, free: 93.27 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/10.69, allocations: 16.16 kB / 4.248 GB, free: 93.26 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004861/10.69, allocations: 4.37 MB / 4.252 GB, free: 88.59 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/10.69, allocations: 0.5024 MB / 4.253 GB, free: 88.07 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002674/10.69, allocations: 47.98 kB / 4.253 GB, free: 88.02 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001788/10.7, allocations: 155.6 kB / 4.253 GB, free: 87.87 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/10.7, allocations: 149.5 kB / 4.253 GB, free: 87.72 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/10.7, allocations: 79.97 kB / 4.253 GB, free: 87.64 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001122/10.7, allocations: 0.8214 MB / 4.254 GB, free: 86.82 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/10.7, allocations: 0 / 4.254 GB, free: 86.82 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002987/10.7, allocations: 0.9217 MB / 4.255 GB, free: 85.9 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.008677/10.71, allocations: 9.217 MB / 4.264 GB, free: 76.31 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003337/10.71, allocations: 2.138 MB / 4.266 GB, free: 74.17 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/10.71, allocations: 8.25 kB / 4.266 GB, free: 74.16 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001479/10.71, allocations: 1.139 MB / 4.267 GB, free: 73.03 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006155/10.72, allocations: 1.089 MB / 4.268 GB, free: 71.95 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009553/10.73, allocations: 4.688 MB / 4.273 GB, free: 67.13 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/10.73, allocations: 1.694 MB / 4.274 GB, free: 65.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00296/10.73, allocations: 0.7587 MB / 4.275 GB, free: 64.64 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/10.74, allocations: 0.8429 MB / 4.276 GB, free: 63.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.273e-06/10.74, allocations: 0 / 4.276 GB, free: 63.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9297/11.67, allocations: 98.1 MB / 4.372 GB, free: 214.9 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/11.67, allocations: 208.5 kB / 4.372 GB, free: 214.6 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.496/17.16, allocations: 0 / 4.372 GB, free: 214.6 MB / 1.182 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