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.535/2.535, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001191/0.001191, allocations: 168.9 kB / 492.3 MB, free: 0.6211 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.704/1.704, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0009964/0.0009963, allocations: 93.66 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.559e-05/4.562e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3265, allocations: 142.4 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.465/5.792, allocations: 1.938 GB / 3.15 GB, free: 333.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001924/5.792, allocations: 91.62 kB / 3.15 GB, free: 333.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.011/12.8, allocations: 1.974 GB / 5.124 GB, free: 121.9 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.465e-06/12.8, allocations: 0 / 5.124 GB, free: 121.9 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0002606/12.8, allocations: 93.73 kB / 5.124 GB, free: 121.9 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.01546/12.82, allocations: 4.287 MB / 5.129 GB, free: 119.1 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/12.82, allocations: 10 kB / 5.129 GB, free: 119.1 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001458/12.82, allocations: 461.3 kB / 5.129 GB, free: 118.7 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007704/12.83, allocations: 0.9943 MB / 5.13 GB, free: 118.3 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005715/12.83, allocations: 2.226 MB / 5.132 GB, free: 116.8 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/12.83, allocations: 250.7 kB / 5.132 GB, free: 116.7 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009674/12.83, allocations: 334.9 kB / 5.133 GB, free: 116.6 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007534/12.84, allocations: 4.068 MB / 5.137 GB, free: 113.1 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.474e-05/12.84, allocations: 11.84 kB / 5.137 GB, free: 113 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003568/12.84, allocations: 140 kB / 5.137 GB, free: 112.9 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001462/12.84, allocations: 157.5 kB / 5.137 GB, free: 112.8 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007401/12.85, allocations: 4.534 MB / 5.142 GB, free: 108.2 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.0212/12.87, allocations: 14.71 MB / 5.156 GB, free: 92.62 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005513/12.88, allocations: 4.302 MB / 5.16 GB, free: 88.38 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003283/12.88, allocations: 2.392 MB / 5.162 GB, free: 85.98 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001373/12.88, allocations: 1.616 MB / 5.164 GB, free: 84.03 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.409e-05/12.88, allocations: 73.64 kB / 5.164 GB, free: 83.95 MB / 1.198 GB Notification: Performance of pre-optimization done (n=392): time 5.1e-06/12.88, allocations: 0 / 5.164 GB, free: 83.95 MB / 1.198 GB Notification: Performance of matching and sorting (n=392): time 0.007356/12.89, allocations: 3.854 MB / 5.168 GB, free: 80.07 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/12.89, allocations: 94.48 kB / 5.168 GB, free: 79.96 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/12.89, allocations: 1.445 MB / 5.169 GB, free: 78.47 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0003902/12.89, allocations: 93.7 kB / 5.169 GB, free: 78.38 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005918/12.89, allocations: 1.14 MB / 5.171 GB, free: 77.22 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001046/12.89, allocations: 1.316 MB / 5.172 GB, free: 75.89 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/12.89, allocations: 72 kB / 5.172 GB, free: 75.82 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001621/12.89, allocations: 437 kB / 5.172 GB, free: 75.38 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002171/12.9, allocations: 1.514 MB / 5.174 GB, free: 73.87 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002345/12.9, allocations: 1.9 MB / 5.176 GB, free: 71.87 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/12.9, allocations: 1.801 MB / 5.177 GB, free: 70.06 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/12.9, allocations: 7.953 kB / 5.177 GB, free: 70.05 MB / 1.198 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006007/12.91, allocations: 4.079 MB / 5.181 GB, free: 65.95 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/12.91, allocations: 9.25 kB / 5.181 GB, free: 65.94 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/12.91, allocations: 4 kB / 5.181 GB, free: 65.93 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.661e-05/12.91, allocations: 20 kB / 5.181 GB, free: 65.91 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003/12.91, allocations: 0.6989 MB / 5.182 GB, free: 65.21 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.282e-05/12.91, allocations: 27.69 kB / 5.182 GB, free: 65.19 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004009/12.91, allocations: 484.8 kB / 5.183 GB, free: 64.71 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003384/12.91, allocations: 123.9 kB / 5.183 GB, free: 64.59 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.0006558/12.92, allocations: 284.2 kB / 5.183 GB, free: 64.31 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007135/12.92, allocations: 300.5 kB / 5.183 GB, free: 64.01 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006731/12.92, allocations: 4.351 MB / 5.188 GB, free: 59.62 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/12.92, allocations: 40 kB / 5.188 GB, free: 59.59 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/12.92, allocations: 0 / 5.188 GB, free: 59.59 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004537/12.93, allocations: 3.714 MB / 5.191 GB, free: 55.8 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/12.94, allocations: 8.558 MB / 5.2 GB, free: 47.08 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/12.94, allocations: 4 kB / 5.2 GB, free: 47.08 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003068/12.94, allocations: 0.7298 MB / 5.2 GB, free: 46.35 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.603e-05/12.94, allocations: 16 kB / 5.2 GB, free: 46.33 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002213/12.94, allocations: 91.95 kB / 5.2 GB, free: 46.24 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-05/12.94, allocations: 16 kB / 5.2 GB, free: 46.23 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/12.94, allocations: 0 / 5.2 GB, free: 46.23 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007872/12.95, allocations: 6.596 MB / 5.207 GB, free: 39.45 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001896/12.95, allocations: 0.8011 MB / 5.208 GB, free: 38.62 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003969/12.95, allocations: 76.11 kB / 5.208 GB, free: 38.55 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00253/12.96, allocations: 263.5 kB / 5.208 GB, free: 38.29 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003163/12.96, allocations: 226.6 kB / 5.208 GB, free: 38.07 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000222/12.96, allocations: 119.4 kB / 5.208 GB, free: 37.96 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.001438/12.96, allocations: 1.123 MB / 5.209 GB, free: 36.8 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.4e-07/12.96, allocations: 0 / 5.209 GB, free: 36.8 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.004599/12.96, allocations: 1.67 MB / 5.211 GB, free: 35.13 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.0162/12.98, allocations: 12.81 MB / 5.223 GB, free: 21.8 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.007716/12.99, allocations: 3.832 MB / 5.227 GB, free: 17.96 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/12.99, allocations: 0 / 5.227 GB, free: 17.96 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.003679/12.99, allocations: 2.063 MB / 5.229 GB, free: 15.9 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008226/13, allocations: 1.479 MB / 5.231 GB, free: 14.46 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/13.02, allocations: 7.528 MB / 5.238 GB, free: 6.922 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002518/13.02, allocations: 2.271 MB / 5.24 GB, free: 4.617 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.005626/13.02, allocations: 1.214 MB / 5.241 GB, free: 3.434 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002798/13.03, allocations: 1.386 MB / 5.243 GB, free: 2.047 MB / 1.198 GB Notification: Performance of SimCode: time 1.372e-06/13.03, allocations: 0 / 5.243 GB, free: 2.047 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.05/14.08, allocations: 156.9 MB / 5.396 GB, free: 142.4 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/14.08, allocations: 200.5 kB / 5.396 GB, free: 142.2 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/21.81, allocations: 5.859 kB / 5.396 GB, free: 142.2 MB / 1.229 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