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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007608/0.0007607, allocations: 86.8 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008419/0.000842, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.548/2.548, allocations: 390.4 MB / 0.6655 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 12 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7481/0.7485, allocations: 142.3 MB / 0.9538 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic): time 0.2677/1.016, allocations: 224.1 MB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02475/1.041, allocations: 13.52 MB / 1.186 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004044/1.045, allocations: 63.56 kB / 1.186 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003675/1.049, allocations: 0.8386 MB / 1.187 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01178/1.061, allocations: 3.402 MB / 1.19 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004947/1.066, allocations: 1.339 MB / 1.191 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01055/1.076, allocations: 7.26 MB / 1.198 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00339/1.08, allocations: 1.489 MB / 1.2 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004978/1.085, allocations: 1.848 MB / 1.202 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004526/1.089, allocations: 1.942 MB / 1.204 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0007133/1.09, allocations: 107.9 kB / 1.204 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008576/1.099, allocations: 2.401 MB / 1.206 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001699/1.1, allocations: 0.892 MB / 1.207 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001336/1.102, allocations: 0.52 MB / 1.207 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00644/1.108, allocations: 3.527 MB / 1.211 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/1.108, allocations: 3.938 kB / 1.211 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.665e-06/1.108, allocations: 0 / 1.211 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.497e-05/1.108, allocations: 0 / 1.211 GB, free: 8.223 MB / 0.9669 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.006514/1.115, allocations: 2.755 MB / 1.214 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/1.115, allocations: 16.03 kB / 1.214 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003912/1.115, allocations: 286.5 kB / 1.214 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003981/1.119, allocations: 0.6761 MB / 1.215 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002751/1.122, allocations: 1.508 MB / 1.216 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/1.122, allocations: 147.8 kB / 1.216 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000274/1.122, allocations: 203.9 kB / 1.216 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003884/1.126, allocations: 2.392 MB / 1.219 GB, free: 108 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.172e-05/1.126, allocations: 0 / 1.219 GB, free: 108 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/1.126, allocations: 83.98 kB / 1.219 GB, free: 24 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/1.127, allocations: 92.28 kB / 1.219 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003899/1.13, allocations: 2.593 MB / 1.221 GB, free: 13.33 MB / 0.9825 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.01095/1.141, allocations: 7.873 MB / 1.229 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003297/1.145, allocations: 2.326 MB / 1.231 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001911/1.147, allocations: 1.325 MB / 1.233 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/1.148, allocations: 1.564 MB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.65e-05/1.148, allocations: 64.42 kB / 1.234 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=222): time 3.727e-06/1.148, allocations: 4 kB / 1.234 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=226): time 0.01157/1.16, allocations: 6.45 MB / 1.241 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/1.16, allocations: 103.1 kB / 1.241 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/1.162, allocations: 1.198 MB / 1.242 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001627/1.162, allocations: 65.7 kB / 1.242 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006623/1.162, allocations: 0.7607 MB / 1.243 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007364/1.163, allocations: 0.77 MB / 1.243 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/1.163, allocations: 40 kB / 1.243 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001835/1.164, allocations: 385.8 kB / 1.244 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/1.165, allocations: 0.8588 MB / 1.245 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/1.166, allocations: 1.103 MB / 1.246 GB, free: 3.324 MB / 0.9981 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.7129/1.879, allocations: 9.67 MB / 1.255 GB, free: 280.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/1.879, allocations: 1.281 kB / 1.255 GB, free: 280.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004947/1.884, allocations: 2.385 MB / 1.257 GB, free: 280.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/1.884, allocations: 8.062 kB / 1.257 GB, free: 280.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/1.884, allocations: 5.359 kB / 1.257 GB, free: 280.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.716e-05/1.884, allocations: 13.03 kB / 1.257 GB, free: 280.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/1.886, allocations: 432.6 kB / 1.258 GB, free: 280.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.673e-05/1.886, allocations: 16.84 kB / 1.258 GB, free: 280.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/1.888, allocations: 181.4 kB / 1.258 GB, free: 280.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/1.888, allocations: 72.33 kB / 1.258 GB, free: 280.3 MB / 0.9981 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.001244/1.89, allocations: 0.5647 MB / 1.259 GB, free: 280 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005025/1.89, allocations: 196.9 kB / 1.259 GB, free: 280 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004325/1.894, allocations: 2.526 MB / 1.261 GB, free: 279 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.898e-05/1.894, allocations: 21.62 kB / 1.261 GB, free: 279 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/1.894, allocations: 3.094 kB / 1.261 GB, free: 279 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003003/1.897, allocations: 2.092 MB / 1.263 GB, free: 278.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00985/1.907, allocations: 5.315 MB / 1.269 GB, free: 274.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/1.907, allocations: 6.5 kB / 1.269 GB, free: 274.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001996/1.909, allocations: 464.6 kB / 1.269 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.295e-05/1.909, allocations: 14.88 kB / 1.269 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/1.91, allocations: 58.83 kB / 1.269 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.791e-05/1.91, allocations: 18.38 kB / 1.269 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.998e-06/1.91, allocations: 9.938 kB / 1.269 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005699/1.915, allocations: 3.916 MB / 1.273 GB, free: 272.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/1.917, allocations: 0.4917 MB / 1.273 GB, free: 272.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003238/1.917, allocations: 48.78 kB / 1.274 GB, free: 272.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/1.919, allocations: 153.7 kB / 1.274 GB, free: 272 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000206/1.919, allocations: 149.2 kB / 1.274 GB, free: 272 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/1.919, allocations: 78.28 kB / 1.274 GB, free: 271.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001061/1.92, allocations: 0.83 MB / 1.275 GB, free: 271.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.92, allocations: 0 / 1.275 GB, free: 271.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001946/1.922, allocations: 0.6867 MB / 1.275 GB, free: 271.4 MB / 0.9981 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.005152/1.927, allocations: 4.714 MB / 1.28 GB, free: 268.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003331/1.931, allocations: 2.172 MB / 1.282 GB, free: 267.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/1.931, allocations: 5.906 kB / 1.282 GB, free: 267.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001537/1.932, allocations: 1.162 MB / 1.283 GB, free: 267 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005483/1.938, allocations: 1.147 MB / 1.284 GB, free: 266.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02128/1.959, allocations: 13.94 MB / 1.298 GB, free: 252.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/1.96, allocations: 1.651 MB / 1.3 GB, free: 250.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002878/1.963, allocations: 0.7559 MB / 1.3 GB, free: 249.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/1.964, allocations: 0.839 MB / 1.301 GB, free: 248.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.282e-06/1.964, allocations: 3.938 kB / 1.301 GB, free: 248.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07957/2.044, allocations: 56.25 MB / 1.356 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/2.044, allocations: 249.6 kB / 1.356 GB, free: 193 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.352/5.396, allocations: 0 / 1.356 GB, free: 193 MB / 0.9981 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