Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.ReverseBuoyancy,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",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.493/2.493, allocations: 390.5 MB / 398 MB, free: 10.95 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.00115/0.00115, allocations: 172.9 kB / 491.2 MB, free: 1.582 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.783/1.783, allocations: 221.5 MB / 0.7868 GB, free: 13.38 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.0009696/0.0009699, allocations: 83.95 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.2e-05/2.203e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3554, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.495/6.851, allocations: 1.938 GB / 3.15 GB, free: 331.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/6.851, allocations: 83.83 kB / 3.15 GB, free: 331.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.976/13.83, allocations: 1.954 GB / 5.104 GB, free: 128.5 MB / 1.198 GB Notification: Performance of FrontEnd: time 3.256e-06/13.83, allocations: 0 / 5.104 GB, free: 128.5 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0003615/13.83, allocations: 91.81 kB / 5.104 GB, free: 128.5 MB / 1.198 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.01804/13.85, allocations: 4.284 MB / 5.108 GB, free: 126.6 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/13.85, allocations: 10 kB / 5.108 GB, free: 126.6 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008446/13.85, allocations: 0.9938 MB / 5.109 GB, free: 126.4 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006576/13.86, allocations: 2.235 MB / 5.111 GB, free: 125.8 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/13.86, allocations: 102.8 kB / 5.111 GB, free: 125.8 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001164/13.86, allocations: 198.7 kB / 5.112 GB, free: 125.8 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007909/13.87, allocations: 4.155 MB / 5.116 GB, free: 125.1 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007784/13.88, allocations: 3.614 MB / 5.119 GB, free: 123.1 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.723e-05/13.88, allocations: 7.438 kB / 5.119 GB, free: 123.1 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003312/13.88, allocations: 3.125 kB / 5.119 GB, free: 123.1 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001574/13.88, allocations: 147.5 kB / 5.119 GB, free: 123.1 MB / 1.198 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.02505/13.9, allocations: 14.34 MB / 5.133 GB, free: 111.4 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007601/13.91, allocations: 5.109 MB / 5.138 GB, free: 106.6 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003864/13.92, allocations: 2.301 MB / 5.141 GB, free: 104.3 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001553/13.92, allocations: 1.61 MB / 5.142 GB, free: 102.4 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.097e-05/13.92, allocations: 77.64 kB / 5.142 GB, free: 102.3 MB / 1.198 GB Notification: Performance of pre-optimization done (n=392): time 6.442e-06/13.92, allocations: 3.938 kB / 5.142 GB, free: 102.3 MB / 1.198 GB Notification: Performance of matching and sorting (n=392): time 0.01057/13.93, allocations: 4.018 MB / 5.146 GB, free: 98.27 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/13.93, allocations: 94.48 kB / 5.146 GB, free: 98.17 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003625/13.93, allocations: 1.199 MB / 5.147 GB, free: 96.97 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0009893/13.93, allocations: 29.11 kB / 5.147 GB, free: 96.94 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001089/13.93, allocations: 1.139 MB / 5.149 GB, free: 95.79 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002184/13.94, allocations: 1.27 MB / 5.15 GB, free: 94.5 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006701/13.94, allocations: 0 / 5.15 GB, free: 94.5 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0005028/13.94, allocations: 441.1 kB / 5.15 GB, free: 94.06 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003299/13.94, allocations: 1.483 MB / 5.152 GB, free: 92.58 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003291/13.94, allocations: 1.853 MB / 5.153 GB, free: 90.64 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005109/13.95, allocations: 2.062 MB / 5.155 GB, free: 88.57 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.309e-05/13.95, allocations: 3.156 kB / 5.155 GB, free: 88.57 MB / 1.198 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01018/13.96, allocations: 4.187 MB / 5.16 GB, free: 84.37 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/13.96, allocations: 8 kB / 5.16 GB, free: 84.36 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/13.96, allocations: 7.984 kB / 5.16 GB, free: 84.35 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.896e-05/13.96, allocations: 23.75 kB / 5.16 GB, free: 84.33 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003509/13.96, allocations: 0.7205 MB / 5.16 GB, free: 83.61 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-05/13.96, allocations: 23.94 kB / 5.16 GB, free: 83.59 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004621/13.97, allocations: 401.1 kB / 5.161 GB, free: 83.22 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008494/13.97, allocations: 124 kB / 5.161 GB, free: 83.1 MB / 1.198 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 () * 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.00131/13.97, allocations: 159.1 kB / 5.161 GB, free: 82.94 MB / 1.198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01011/13.98, allocations: 3.967 MB / 5.165 GB, free: 78.95 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001305/13.98, allocations: 272.7 kB / 5.165 GB, free: 78.68 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01039/13.99, allocations: 4.4 MB / 5.169 GB, free: 74.25 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-05/13.99, allocations: 36 kB / 5.169 GB, free: 74.21 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-05/13.99, allocations: 0 / 5.169 GB, free: 74.21 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007259/14, allocations: 3.853 MB / 5.173 GB, free: 70.3 MB / 1.198 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 postOpt removeSimpleEquations (simulation): time 0.01918/14.02, allocations: 8.73 MB / 5.182 GB, free: 61.46 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/14.02, allocations: 4 kB / 5.182 GB, free: 61.45 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003705/14.02, allocations: 0.7426 MB / 5.182 GB, free: 60.71 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.99e-05/14.02, allocations: 16 kB / 5.183 GB, free: 60.7 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005727/14.02, allocations: 43.95 kB / 5.183 GB, free: 60.66 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.548e-05/14.02, allocations: 15.94 kB / 5.183 GB, free: 60.64 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/14.02, allocations: 6.719 kB / 5.183 GB, free: 60.64 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/14.03, allocations: 6.62 MB / 5.189 GB, free: 53.88 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002455/14.04, allocations: 0.8012 MB / 5.19 GB, free: 53.05 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009898/14.04, allocations: 12 kB / 5.19 GB, free: 53.04 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003666/14.04, allocations: 211.5 kB / 5.19 GB, free: 52.85 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004138/14.04, allocations: 221.4 kB / 5.19 GB, free: 52.64 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003813/14.04, allocations: 131.9 kB / 5.19 GB, free: 52.51 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.00192/14.04, allocations: 0.9151 MB / 5.191 GB, free: 51.6 MB / 1.198 GB Notification: Performance of sort global known variables: time 5.21e-07/14.04, allocations: 0 / 5.191 GB, free: 51.6 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.005275/14.05, allocations: 1.427 MB / 5.193 GB, free: 50.17 MB / 1.198 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 () * 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.01887/14.07, allocations: 13.25 MB / 5.206 GB, free: 37.01 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.006571/14.07, allocations: 3.737 MB / 5.209 GB, free: 33.27 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/14.07, allocations: 1.312 kB / 5.209 GB, free: 33.27 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.003123/14.08, allocations: 2.026 MB / 5.211 GB, free: 31.24 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007428/14.09, allocations: 1.29 MB / 5.212 GB, free: 29.99 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/14.1, allocations: 7.246 MB / 5.22 GB, free: 22.75 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00235/14.1, allocations: 2.266 MB / 5.222 GB, free: 20.45 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.005018/14.11, allocations: 1.212 MB / 5.223 GB, free: 19.26 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002413/14.11, allocations: 1.39 MB / 5.224 GB, free: 17.87 MB / 1.198 GB Notification: Performance of SimCode: time 1.202e-06/14.11, allocations: 0 / 5.224 GB, free: 17.87 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.046/15.16, allocations: 110 MB / 5.332 GB, free: 165.8 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/15.16, allocations: 177.3 kB / 5.332 GB, free: 165.6 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.14/21.3, allocations: 0 / 5.332 GB, free: 165.6 MB / 1.229 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat does not exist to compare? outputFormat=mat