Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.244/2.244, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001214, allocations: 172.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 221.3 MB / 0.7915 GB, free: 5.461 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.001174/0.001174, allocations: 95.95 kB / 0.9318 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.026e-05/3.056e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2879, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.853/5.141, allocations: 1.931 GB / 3.15 GB, free: 326.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/5.141, allocations: 88.77 kB / 3.15 GB, free: 326.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.713/8.854, allocations: 1.077 GB / 4.228 GB, free: 131 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.362e-06/8.854, allocations: 0 / 4.228 GB, free: 131 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002664/8.855, allocations: 51.92 kB / 4.228 GB, free: 131 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.007765/8.862, allocations: 2.15 MB / 4.23 GB, free: 128.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/8.862, allocations: 12.03 kB / 4.23 GB, free: 128.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007958/8.863, allocations: 198.6 kB / 4.23 GB, free: 128.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004063/8.867, allocations: 0.5167 MB / 4.231 GB, free: 128.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003685/8.871, allocations: 1.272 MB / 4.232 GB, free: 126.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/8.871, allocations: 106.6 kB / 4.232 GB, free: 126.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005447/8.872, allocations: 151.9 kB / 4.232 GB, free: 126.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003602/8.875, allocations: 1.602 MB / 4.234 GB, free: 124.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-05/8.875, allocations: 3.938 kB / 4.234 GB, free: 124.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002117/8.876, allocations: 59.98 kB / 4.234 GB, free: 124.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.066e-05/8.876, allocations: 62.58 kB / 4.234 GB, free: 124.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002531/8.878, allocations: 1.345 MB / 4.235 GB, free: 123.3 MB / 1.167 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.01029/8.889, allocations: 7.178 MB / 4.242 GB, free: 115.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/8.89, allocations: 1.159 MB / 4.243 GB, free: 114.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008528/8.891, allocations: 0.5811 MB / 4.244 GB, free: 113.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008209/8.892, allocations: 0.8711 MB / 4.245 GB, free: 112.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009744/8.893, allocations: 0.5831 MB / 4.245 GB, free: 112.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=110): time 4.789e-06/8.893, allocations: 0 / 4.245 GB, free: 112.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=110): time 0.00287/8.896, allocations: 1.128 MB / 4.246 GB, free: 111.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/8.896, allocations: 86.11 kB / 4.247 GB, free: 111 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/8.898, allocations: 1.025 MB / 4.248 GB, free: 110 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001523/8.899, allocations: 53.7 kB / 4.248 GB, free: 109.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007467/8.899, allocations: 0.6699 MB / 4.248 GB, free: 109.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/8.9, allocations: 386.4 kB / 4.249 GB, free: 108.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.807e-05/8.9, allocations: 20 kB / 4.249 GB, free: 108.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001213/8.9, allocations: 353.9 kB / 4.249 GB, free: 108.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006424/8.901, allocations: 393.9 kB / 4.249 GB, free: 108.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007449/8.901, allocations: 0.5685 MB / 4.25 GB, free: 107.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008002/8.902, allocations: 476.8 kB / 4.25 GB, free: 107 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/8.902, allocations: 0 / 4.25 GB, free: 107 MB / 1.167 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002281/8.904, allocations: 1.167 MB / 4.252 GB, free: 105.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000244/8.905, allocations: 0.9823 MB / 4.252 GB, free: 104.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/8.905, allocations: 11.92 kB / 4.252 GB, free: 104.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/8.905, allocations: 8 kB / 4.252 GB, free: 104.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009788/8.906, allocations: 219.7 kB / 4.253 GB, free: 104.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.298e-05/8.906, allocations: 7.984 kB / 4.253 GB, free: 104.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/8.908, allocations: 191.5 kB / 4.253 GB, free: 104.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/8.908, allocations: 39.98 kB / 4.253 GB, free: 104.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/8.908, allocations: 5.562 kB / 4.253 GB, free: 104.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001465/8.909, allocations: 1.019 MB / 4.254 GB, free: 103.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/8.909, allocations: 4 kB / 4.254 GB, free: 103.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/8.909, allocations: 8 kB / 4.254 GB, free: 103.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008674/8.91, allocations: 219.6 kB / 4.254 GB, free: 103.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/8.91, allocations: 11.94 kB / 4.254 GB, free: 103.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/8.912, allocations: 183 kB / 4.254 GB, free: 102.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/8.912, allocations: 39.98 kB / 4.254 GB, free: 102.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * 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.0002743/8.912, allocations: 156.8 kB / 4.255 GB, free: 102.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003894/8.913, allocations: 150.2 kB / 4.255 GB, free: 102.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/8.915, allocations: 1.221 MB / 4.256 GB, free: 101.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/8.915, allocations: 11.98 kB / 4.256 GB, free: 101.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/8.915, allocations: 3.953 kB / 4.256 GB, free: 101.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001289/8.916, allocations: 0.9717 MB / 4.257 GB, free: 100.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005368/8.922, allocations: 3.155 MB / 4.26 GB, free: 97.03 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/8.922, allocations: 0 / 4.26 GB, free: 97.03 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/8.923, allocations: 235.7 kB / 4.26 GB, free: 96.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.002e-05/8.923, allocations: 8.312 kB / 4.26 GB, free: 96.79 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.565e-05/8.923, allocations: 35.98 kB / 4.26 GB, free: 96.76 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.358e-06/8.923, allocations: 4 kB / 4.26 GB, free: 96.75 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/8.923, allocations: 4 kB / 4.26 GB, free: 96.75 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/8.926, allocations: 1.987 MB / 4.262 GB, free: 94.63 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009781/8.927, allocations: 378.9 kB / 4.262 GB, free: 94.24 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003635/8.927, allocations: 24 kB / 4.263 GB, free: 94.22 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/8.928, allocations: 127.7 kB / 4.263 GB, free: 94.09 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/8.929, allocations: 68.95 kB / 4.263 GB, free: 94.03 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.388e-05/8.929, allocations: 35.98 kB / 4.263 GB, free: 93.99 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001218/8.93, allocations: 0.8044 MB / 4.264 GB, free: 93.18 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/8.93, allocations: 0 / 4.264 GB, free: 93.18 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003526/8.933, allocations: 1.103 MB / 4.265 GB, free: 92.08 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.007046/8.94, allocations: 5.985 MB / 4.27 GB, free: 85.84 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002637/8.943, allocations: 1.608 MB / 4.272 GB, free: 84.23 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/8.943, allocations: 1.25 kB / 4.272 GB, free: 84.23 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007418/8.944, allocations: 0.541 MB / 4.273 GB, free: 83.69 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0045/8.948, allocations: 0.8098 MB / 4.273 GB, free: 82.88 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007102/8.956, allocations: 3.146 MB / 4.276 GB, free: 79.64 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/8.957, allocations: 1.398 MB / 4.278 GB, free: 78.21 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002784/8.959, allocations: 0.5931 MB / 4.278 GB, free: 77.62 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008009/8.96, allocations: 0.6008 MB / 4.279 GB, free: 77.02 MB / 1.167 GB Notification: Performance of SimCode: time 1.523e-06/8.96, allocations: 0 / 4.279 GB, free: 77.02 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1256/9.086, allocations: 86.88 MB / 4.364 GB, free: 6.375 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/9.086, allocations: 208.5 kB / 4.364 GB, free: 6.148 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.121/14.21, allocations: 6.531 kB / 4.364 GB, free: 6.145 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat does not exist to compare? outputFormat=mat