Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",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.144/2.144, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001203/0.001203, allocations: 177 kB / 498.1 MB, free: 5.77 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.385/1.385, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.0008882/0.0008883, allocations: 90.95 kB / 0.9346 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003792, allocations: 12.97 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2532, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.17/4.423, allocations: 1.938 GB / 3.161 GB, free: 49.27 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/4.424, allocations: 95.12 kB / 3.161 GB, free: 49.22 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 8.434/12.86, allocations: 1.976 GB / 5.137 GB, free: 148.1 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.715e-06/12.86, allocations: 0 / 5.137 GB, free: 148.1 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0005202/12.86, allocations: 92.22 kB / 5.137 GB, free: 148.1 MB / 1.214 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.02451/12.88, allocations: 4.773 MB / 5.141 GB, free: 146.6 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 7.219e-05/12.88, allocations: 10.78 kB / 5.141 GB, free: 146.6 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003312/12.89, allocations: 463.2 kB / 5.142 GB, free: 146.5 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/12.9, allocations: 0.9951 MB / 5.143 GB, free: 146.3 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009171/12.91, allocations: 2.25 MB / 5.145 GB, free: 145.9 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003885/12.91, allocations: 249 kB / 5.145 GB, free: 145.8 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001784/12.91, allocations: 333.1 kB / 5.145 GB, free: 145.8 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01391/12.92, allocations: 4.142 MB / 5.149 GB, free: 145.5 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002885/12.92, allocations: 5.062 kB / 5.149 GB, free: 145.5 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001423/12.92, allocations: 139.1 kB / 5.15 GB, free: 145.5 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002291/12.92, allocations: 148.6 kB / 5.15 GB, free: 145.5 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01173/12.94, allocations: 4.647 MB / 5.154 GB, free: 145.5 MB / 1.214 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.0299/12.97, allocations: 14.71 MB / 5.169 GB, free: 138.7 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008942/12.98, allocations: 4.372 MB / 5.173 GB, free: 138.6 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002317/12.98, allocations: 1.608 MB / 5.175 GB, free: 136.9 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/12.98, allocations: 78.98 kB / 5.175 GB, free: 136.9 MB / 1.214 GB Notification: Performance of pre-optimization done (n=392): time 1.316e-05/12.98, allocations: 3.625 kB / 5.175 GB, free: 136.9 MB / 1.214 GB Notification: Performance of matching and sorting (n=392): time 0.01662/12.99, allocations: 5.497 MB / 5.18 GB, free: 136.6 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/12.99, allocations: 96.14 kB / 5.18 GB, free: 136.6 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003424/13, allocations: 1.467 MB / 5.181 GB, free: 136.3 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0008212/13, allocations: 95.17 kB / 5.182 GB, free: 136.3 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009973/13, allocations: 1.138 MB / 5.183 GB, free: 135.9 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.001876/13, allocations: 1.326 MB / 5.184 GB, free: 135 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007004/13, allocations: 68.56 kB / 5.184 GB, free: 135 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0004269/13, allocations: 436.5 kB / 5.184 GB, free: 134.7 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003255/13.01, allocations: 1.55 MB / 5.186 GB, free: 134.7 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003531/13.01, allocations: 1.933 MB / 5.188 GB, free: 134.4 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003603/13.01, allocations: 1.826 MB / 5.19 GB, free: 134.4 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.279e-05/13.01, allocations: 6.062 kB / 5.19 GB, free: 134.4 MB / 1.214 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01054/13.02, allocations: 4.139 MB / 5.194 GB, free: 134.1 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 6.632e-05/13.02, allocations: 8.156 kB / 5.194 GB, free: 134.1 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.815e-05/13.02, allocations: 7.656 kB / 5.194 GB, free: 134.1 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001231/13.02, allocations: 23.58 kB / 5.194 GB, free: 134.1 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004409/13.03, allocations: 0.7005 MB / 5.194 GB, free: 134.1 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000112/13.03, allocations: 18.44 kB / 5.194 GB, free: 134.1 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006404/13.04, allocations: 484.7 kB / 5.195 GB, free: 134 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001362/13.04, allocations: 123.9 kB / 5.195 GB, free: 134 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * 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.004033/13.04, allocations: 0.8016 MB / 5.196 GB, free: 133.9 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002242/13.04, allocations: 292.8 kB / 5.196 GB, free: 133.7 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/13.06, allocations: 4.418 MB / 5.2 GB, free: 133.5 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.566e-05/13.06, allocations: 38.09 kB / 5.2 GB, free: 133.5 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.061e-05/13.06, allocations: 6.984 kB / 5.2 GB, free: 133.5 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009508/13.07, allocations: 3.77 MB / 5.204 GB, free: 133.2 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02151/13.09, allocations: 8.614 MB / 5.213 GB, free: 132.4 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/13.09, allocations: 3.812 kB / 5.213 GB, free: 132.4 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004153/13.09, allocations: 0.7317 MB / 5.213 GB, free: 132.4 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.145e-05/13.09, allocations: 15.69 kB / 5.213 GB, free: 132.4 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000744/13.09, allocations: 86.77 kB / 5.213 GB, free: 132.4 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-05/13.09, allocations: 15.47 kB / 5.213 GB, free: 132.4 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/13.09, allocations: 3.812 kB / 5.213 GB, free: 132.4 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/13.11, allocations: 6.695 MB / 5.22 GB, free: 131.6 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003383/13.11, allocations: 0.7991 MB / 5.221 GB, free: 131.3 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001305/13.11, allocations: 73.56 kB / 5.221 GB, free: 131.3 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004454/13.12, allocations: 273 kB / 5.221 GB, free: 131.3 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006997/13.12, allocations: 220.3 kB / 5.221 GB, free: 131.3 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005595/13.12, allocations: 120.8 kB / 5.221 GB, free: 131.3 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.002927/13.12, allocations: 1.142 MB / 5.222 GB, free: 131.1 MB / 1.214 GB Notification: Performance of sort global known variables: time 7.22e-07/13.12, allocations: 3.469 kB / 5.222 GB, free: 131.1 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.007903/13.13, allocations: 1.661 MB / 5.224 GB, free: 131 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.02407/13.15, allocations: 12.88 MB / 5.237 GB, free: 126.7 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.009384/13.16, allocations: 3.896 MB / 5.24 GB, free: 126.6 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/13.16, allocations: 3.781 kB / 5.24 GB, free: 126.6 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.004723/13.17, allocations: 2.094 MB / 5.243 GB, free: 126.6 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009/13.18, allocations: 1.483 MB / 5.244 GB, free: 126.6 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02713/13.2, allocations: 14.09 MB / 5.258 GB, free: 119.3 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00345/13.21, allocations: 2.265 MB / 5.26 GB, free: 118.6 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.007005/13.21, allocations: 1.211 MB / 5.261 GB, free: 118.5 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004047/13.22, allocations: 1.386 MB / 5.262 GB, free: 118.5 MB / 1.214 GB Notification: Performance of SimCode: time 2.555e-06/13.22, allocations: 0 / 5.262 GB, free: 118.5 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2241/13.44, allocations: 144.7 MB / 5.404 GB, free: 31.88 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/13.44, allocations: 226.9 kB / 5.404 GB, free: 31.63 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.705/20.15, allocations: 0 / 5.404 GB, free: 31.63 MB / 1.214 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat does not exist to compare? outputFormat=mat