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.416/2.416, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001221/0.001221, allocations: 179.9 kB / 0.4901 GB, free: 2.242 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.938/1.938, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.00111/0.00111, allocations: 98.56 kB / 0.9396 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005048/0.0005048, allocations: 9.391 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3592, allocations: 143 MB / 1.229 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.737/5.096, allocations: 1.939 GB / 3.168 GB, free: 21.19 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/5.097, allocations: 91.95 kB / 3.168 GB, free: 21.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.412/12.51, allocations: 1.976 GB / 5.144 GB, free: 143.1 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.375e-06/12.51, allocations: 0 / 5.144 GB, free: 143.1 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0002174/12.51, allocations: 85.88 kB / 5.144 GB, free: 143.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.01629/12.53, allocations: 4.781 MB / 5.148 GB, free: 141.5 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 6.754e-05/12.53, allocations: 10.7 kB / 5.148 GB, free: 141.5 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001096/12.53, allocations: 462.7 kB / 5.149 GB, free: 141.5 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006706/12.53, allocations: 1.001 MB / 5.15 GB, free: 141.2 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005634/12.54, allocations: 2.245 MB / 5.152 GB, free: 140.7 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/12.54, allocations: 248.9 kB / 5.152 GB, free: 140.7 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005428/12.54, allocations: 327.1 kB / 5.153 GB, free: 140.7 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007448/12.55, allocations: 4.146 MB / 5.157 GB, free: 140.4 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.22e-05/12.55, allocations: 6.562 kB / 5.157 GB, free: 140.4 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003746/12.55, allocations: 136.4 kB / 5.157 GB, free: 140.4 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/12.55, allocations: 152.5 kB / 5.157 GB, free: 140.4 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008668/12.56, allocations: 4.646 MB / 5.161 GB, free: 140.4 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.02262/12.58, allocations: 14.72 MB / 5.176 GB, free: 133.6 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00622/12.59, allocations: 4.364 MB / 5.18 GB, free: 133.5 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/12.59, allocations: 1.613 MB / 5.182 GB, free: 131.8 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.606e-05/12.59, allocations: 76.2 kB / 5.182 GB, free: 131.8 MB / 1.214 GB Notification: Performance of pre-optimization done (n=392): time 7.655e-06/12.59, allocations: 0 / 5.182 GB, free: 131.8 MB / 1.214 GB Notification: Performance of matching and sorting (n=392): time 0.01019/12.6, allocations: 5.498 MB / 5.187 GB, free: 131.5 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/12.6, allocations: 95.3 kB / 5.187 GB, free: 131.4 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002996/12.6, allocations: 1.463 MB / 5.189 GB, free: 131.2 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0004318/12.6, allocations: 93.92 kB / 5.189 GB, free: 131.2 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009263/12.6, allocations: 1.149 MB / 5.19 GB, free: 130.8 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.001338/12.6, allocations: 1.312 MB / 5.191 GB, free: 129.9 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000298/12.6, allocations: 70.38 kB / 5.191 GB, free: 129.9 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0002582/12.6, allocations: 441.1 kB / 5.192 GB, free: 129.6 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002619/12.61, allocations: 1.55 MB / 5.193 GB, free: 129.6 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00287/12.61, allocations: 1.934 MB / 5.195 GB, free: 129.3 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002991/12.61, allocations: 1.829 MB / 5.197 GB, free: 129.3 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/12.61, allocations: 7.219 kB / 5.197 GB, free: 129.3 MB / 1.214 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008176/12.62, allocations: 4.143 MB / 5.201 GB, free: 129 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 5.388e-05/12.62, allocations: 7.531 kB / 5.201 GB, free: 129 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/12.62, allocations: 3.969 kB / 5.201 GB, free: 129 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.897e-05/12.62, allocations: 22.19 kB / 5.201 GB, free: 129 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003788/12.62, allocations: 0.6941 MB / 5.202 GB, free: 129 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-05/12.62, allocations: 29.44 kB / 5.202 GB, free: 129 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004822/12.63, allocations: 486 kB / 5.202 GB, free: 128.8 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006914/12.63, allocations: 123.3 kB / 5.202 GB, free: 128.8 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.002772/12.63, allocations: 0.7968 MB / 5.203 GB, free: 128.7 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/12.63, allocations: 288.9 kB / 5.203 GB, free: 128.6 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009199/12.64, allocations: 4.422 MB / 5.208 GB, free: 128.4 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.76e-05/12.64, allocations: 36.81 kB / 5.208 GB, free: 128.4 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.193e-05/12.64, allocations: 3.031 kB / 5.208 GB, free: 128.4 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005971/12.65, allocations: 3.779 MB / 5.211 GB, free: 128 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01823/12.67, allocations: 8.609 MB / 5.22 GB, free: 127.3 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/12.67, allocations: 3.938 kB / 5.22 GB, free: 127.3 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003657/12.67, allocations: 0.7265 MB / 5.22 GB, free: 127.3 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.387e-05/12.67, allocations: 15 kB / 5.22 GB, free: 127.3 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004816/12.67, allocations: 90.58 kB / 5.22 GB, free: 127.3 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.314e-05/12.67, allocations: 21.45 kB / 5.22 GB, free: 127.3 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/12.67, allocations: 3.781 kB / 5.22 GB, free: 127.3 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/12.68, allocations: 6.684 MB / 5.227 GB, free: 126.5 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003431/12.69, allocations: 0.8012 MB / 5.228 GB, free: 126.2 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001386/12.69, allocations: 74.02 kB / 5.228 GB, free: 126.2 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004712/12.69, allocations: 268.6 kB / 5.228 GB, free: 126.2 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006176/12.69, allocations: 225.3 kB / 5.228 GB, free: 126.2 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000478/12.69, allocations: 116.4 kB / 5.228 GB, free: 126.2 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.00328/12.7, allocations: 1.14 MB / 5.23 GB, free: 126 MB / 1.214 GB Notification: Performance of sort global known variables: time 4.01e-07/12.7, allocations: 0 / 5.23 GB, free: 126 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.007404/12.7, allocations: 1.679 MB / 5.231 GB, free: 125.9 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.01966/12.72, allocations: 12.88 MB / 5.244 GB, free: 121.6 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.008368/12.73, allocations: 3.896 MB / 5.248 GB, free: 121.5 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/12.73, allocations: 3.656 kB / 5.248 GB, free: 121.5 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.004031/12.74, allocations: 2.098 MB / 5.25 GB, free: 121.5 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008097/12.74, allocations: 1.476 MB / 5.251 GB, free: 121.4 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02446/12.77, allocations: 14.09 MB / 5.265 GB, free: 114.2 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002755/12.77, allocations: 2.268 MB / 5.267 GB, free: 113.4 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.006027/12.78, allocations: 1.215 MB / 5.268 GB, free: 113.4 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003121/12.78, allocations: 1.384 MB / 5.27 GB, free: 113 MB / 1.214 GB Notification: Performance of SimCode: time 9.42e-07/12.78, allocations: 0 / 5.27 GB, free: 113 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2114/12.99, allocations: 144.7 MB / 5.411 GB, free: 11 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/12.99, allocations: 227.8 kB / 5.411 GB, free: 10.76 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/20.65, allocations: 0 / 5.411 GB, free: 10.76 MB / 1.214 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