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.375/2.375, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.002033/0.002034, allocations: 177 kB / 496.1 MB, free: 12.88 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.705/1.705, allocations: 221.3 MB / 0.7915 GB, free: 5.43 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.0009808/0.0009809, allocations: 87.89 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.439e-05/3.441e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3051, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.619/5.924, allocations: 1.939 GB / 3.157 GB, free: 320.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/5.924, allocations: 91.31 kB / 3.157 GB, free: 320.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.288/13.21, allocations: 1.974 GB / 5.132 GB, free: 135.6 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.625e-06/13.21, allocations: 3.312 kB / 5.132 GB, free: 135.6 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0002449/13.21, allocations: 86.98 kB / 5.132 GB, free: 135.6 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.01727/13.23, allocations: 4.296 MB / 5.136 GB, free: 133.1 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/13.23, allocations: 9.469 kB / 5.136 GB, free: 133.1 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001459/13.23, allocations: 457.7 kB / 5.136 GB, free: 133 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007663/13.24, allocations: 0.9927 MB / 5.137 GB, free: 132.6 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005903/13.25, allocations: 2.227 MB / 5.139 GB, free: 131.7 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/13.25, allocations: 248.3 kB / 5.14 GB, free: 131.6 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009001/13.25, allocations: 338.6 kB / 5.14 GB, free: 131.6 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006997/13.25, allocations: 4.068 MB / 5.144 GB, free: 129.4 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.75e-05/13.25, allocations: 15.83 kB / 5.144 GB, free: 129.3 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003422/13.25, allocations: 134.8 kB / 5.144 GB, free: 129.2 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001311/13.25, allocations: 149.5 kB / 5.144 GB, free: 129.2 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006984/13.26, allocations: 4.539 MB / 5.149 GB, free: 127.2 MB / 1.214 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.02039/13.28, allocations: 14.71 MB / 5.163 GB, free: 113.6 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005298/13.29, allocations: 4.312 MB / 5.167 GB, free: 109.4 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003148/13.29, allocations: 2.387 MB / 5.17 GB, free: 107 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/13.29, allocations: 1.61 MB / 5.171 GB, free: 105.1 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.23e-05/13.29, allocations: 77.64 kB / 5.171 GB, free: 105 MB / 1.214 GB Notification: Performance of pre-optimization done (n=392): time 5.411e-06/13.29, allocations: 0 / 5.171 GB, free: 105 MB / 1.214 GB Notification: Performance of matching and sorting (n=392): time 0.00635/13.3, allocations: 3.858 MB / 5.175 GB, free: 101.1 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/13.3, allocations: 90.48 kB / 5.175 GB, free: 101 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002106/13.3, allocations: 1.441 MB / 5.176 GB, free: 99.52 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0004352/13.3, allocations: 93.7 kB / 5.177 GB, free: 99.43 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006178/13.3, allocations: 1.143 MB / 5.178 GB, free: 98.27 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.001132/13.3, allocations: 1.325 MB / 5.179 GB, free: 96.96 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/13.3, allocations: 64 kB / 5.179 GB, free: 96.89 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001781/13.3, allocations: 448.3 kB / 5.179 GB, free: 96.45 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002282/13.3, allocations: 1.51 MB / 5.181 GB, free: 94.94 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002603/13.31, allocations: 1.898 MB / 5.183 GB, free: 92.95 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002563/13.31, allocations: 1.806 MB / 5.185 GB, free: 91.14 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/13.31, allocations: 0 / 5.185 GB, free: 91.14 MB / 1.214 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006196/13.32, allocations: 4.073 MB / 5.189 GB, free: 87.05 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/13.32, allocations: 8 kB / 5.189 GB, free: 87.04 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/13.32, allocations: 4 kB / 5.189 GB, free: 87.04 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.068e-05/13.32, allocations: 20 kB / 5.189 GB, free: 87.02 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00294/13.32, allocations: 0.7059 MB / 5.189 GB, free: 86.32 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.143e-05/13.32, allocations: 23.94 kB / 5.189 GB, free: 86.29 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003876/13.32, allocations: 480.5 kB / 5.19 GB, free: 85.84 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002761/13.32, allocations: 119.7 kB / 5.19 GB, free: 85.73 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 () * 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.0005743/13.32, allocations: 296.2 kB / 5.19 GB, free: 85.43 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005876/13.32, allocations: 298.4 kB / 5.19 GB, free: 85.14 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00662/13.33, allocations: 4.352 MB / 5.195 GB, free: 80.77 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/13.33, allocations: 43.31 kB / 5.195 GB, free: 80.73 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/13.33, allocations: 0 / 5.195 GB, free: 80.73 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004571/13.34, allocations: 3.706 MB / 5.198 GB, free: 76.95 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/13.35, allocations: 8.567 MB / 5.207 GB, free: 68.32 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/13.35, allocations: 4 kB / 5.207 GB, free: 68.32 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00322/13.35, allocations: 0.7325 MB / 5.207 GB, free: 67.59 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-05/13.35, allocations: 16 kB / 5.207 GB, free: 67.57 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002257/13.35, allocations: 87.97 kB / 5.208 GB, free: 67.49 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.627e-05/13.35, allocations: 16 kB / 5.208 GB, free: 67.47 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/13.35, allocations: 7.938 kB / 5.208 GB, free: 67.46 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008193/13.36, allocations: 6.593 MB / 5.214 GB, free: 60.7 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002088/13.36, allocations: 0.8012 MB / 5.215 GB, free: 59.88 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004712/13.36, allocations: 72 kB / 5.215 GB, free: 59.8 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002509/13.37, allocations: 273.4 kB / 5.215 GB, free: 59.56 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003225/13.37, allocations: 214.7 kB / 5.215 GB, free: 59.35 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000227/13.37, allocations: 116 kB / 5.215 GB, free: 59.23 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.001488/13.37, allocations: 1.123 MB / 5.216 GB, free: 58.08 MB / 1.214 GB Notification: Performance of sort global known variables: time 3.91e-07/13.37, allocations: 0 / 5.216 GB, free: 58.08 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.004153/13.37, allocations: 1.676 MB / 5.218 GB, free: 56.41 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 () * 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.01396/13.39, allocations: 12.8 MB / 5.231 GB, free: 43.18 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.005717/13.39, allocations: 3.832 MB / 5.234 GB, free: 39.33 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/13.39, allocations: 4 kB / 5.234 GB, free: 39.33 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.00252/13.4, allocations: 2.063 MB / 5.236 GB, free: 37.27 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007484/13.4, allocations: 1.469 MB / 5.238 GB, free: 35.84 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/13.42, allocations: 7.531 MB / 5.245 GB, free: 28.28 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/13.42, allocations: 2.27 MB / 5.247 GB, free: 25.98 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.004225/13.42, allocations: 1.219 MB / 5.249 GB, free: 24.79 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0019/13.42, allocations: 1.386 MB / 5.25 GB, free: 23.41 MB / 1.214 GB Notification: Performance of SimCode: time 6.61e-07/13.42, allocations: 4 kB / 5.25 GB, free: 23.4 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.044/14.47, allocations: 156.9 MB / 5.403 GB, free: 133.1 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/14.47, allocations: 207.9 kB / 5.403 GB, free: 132.9 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/21.95, allocations: 0 / 5.403 GB, free: 132.9 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