Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.673/2.673, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001673/0.001673, allocations: 188 kB / 0.4901 GB, free: 2.246 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.685/1.685, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.0009706/0.0009709, allocations: 103.2 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 11.59 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3219, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.956/4.278, allocations: 1.935 GB / 3.165 GB, free: 45.29 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/4.278, allocations: 92.45 kB / 3.165 GB, free: 45.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.793/11.07, allocations: 1.76 GB / 4.924 GB, free: 63.18 MB / 1.198 GB Notification: Performance of FrontEnd: time 4.087e-06/11.07, allocations: 0 / 4.924 GB, free: 63.18 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0004272/11.07, allocations: 71.92 kB / 4.925 GB, free: 63.11 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: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01643/11.09, allocations: 3.969 MB / 4.928 GB, free: 59.07 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/11.09, allocations: 8.562 kB / 4.928 GB, free: 59.06 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001764/11.09, allocations: 367 kB / 4.929 GB, free: 58.7 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007808/11.1, allocations: 0.9016 MB / 4.93 GB, free: 57.79 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006492/11.1, allocations: 1.922 MB / 4.932 GB, free: 55.81 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/11.1, allocations: 201.1 kB / 4.932 GB, free: 55.61 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001198/11.11, allocations: 268 kB / 4.932 GB, free: 55.35 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008463/11.11, allocations: 3.272 MB / 4.935 GB, free: 51.96 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001204/11.11, allocations: 11.84 kB / 4.935 GB, free: 51.95 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005341/11.11, allocations: 108 kB / 4.935 GB, free: 51.84 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/11.12, allocations: 121.1 kB / 4.935 GB, free: 51.72 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007545/11.12, allocations: 3.408 MB / 4.939 GB, free: 48.3 MB / 1.198 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.02082/11.14, allocations: 12.35 MB / 4.951 GB, free: 35.05 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00395/11.15, allocations: 3.364 MB / 4.954 GB, free: 31.6 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001198/11.15, allocations: 1.489 MB / 4.956 GB, free: 29.8 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/11.15, allocations: 68.97 kB / 4.956 GB, free: 29.72 MB / 1.198 GB Notification: Performance of pre-optimization done (n=278): time 4.939e-06/11.15, allocations: 0 / 4.956 GB, free: 29.72 MB / 1.198 GB Notification: Performance of matching and sorting (n=278): time 0.005936/11.15, allocations: 3.858 MB / 4.959 GB, free: 25.81 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/11.15, allocations: 81.59 kB / 4.959 GB, free: 25.71 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/11.16, allocations: 1.203 MB / 4.961 GB, free: 24.51 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001858/11.16, allocations: 77.7 kB / 4.961 GB, free: 24.43 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005479/11.16, allocations: 0.9805 MB / 4.962 GB, free: 23.43 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007496/11.16, allocations: 0.947 MB / 4.963 GB, free: 22.47 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/11.16, allocations: 48 kB / 4.963 GB, free: 22.43 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001386/11.16, allocations: 398.9 kB / 4.963 GB, free: 22.03 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/11.16, allocations: 1.082 MB / 4.964 GB, free: 20.95 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/11.16, allocations: 1.381 MB / 4.965 GB, free: 19.47 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/11.16, allocations: 1.274 MB / 4.967 GB, free: 18.18 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/11.16, allocations: 4 kB / 4.967 GB, free: 18.18 MB / 1.198 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004205/11.17, allocations: 2.958 MB / 4.97 GB, free: 15.17 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/11.17, allocations: 8 kB / 4.97 GB, free: 15.16 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/11.17, allocations: 4 kB / 4.97 GB, free: 15.16 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.195e-05/11.17, allocations: 16 kB / 4.97 GB, free: 15.14 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002185/11.17, allocations: 0.5193 MB / 4.97 GB, free: 14.62 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.496e-05/11.17, allocations: 12 kB / 4.97 GB, free: 14.61 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/11.17, allocations: 377.7 kB / 4.97 GB, free: 14.24 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/11.17, allocations: 87.94 kB / 4.971 GB, free: 14.16 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.001639/11.17, allocations: 0.6534 MB / 4.971 GB, free: 13.49 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005483/11.18, allocations: 229.3 kB / 4.971 GB, free: 13.27 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004704/11.18, allocations: 3.108 MB / 4.974 GB, free: 10.1 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/11.18, allocations: 32 kB / 4.974 GB, free: 10.07 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/11.18, allocations: 0 / 4.974 GB, free: 10.07 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003378/11.18, allocations: 2.634 MB / 4.977 GB, free: 7.367 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/11.19, allocations: 6.175 MB / 4.983 GB, free: 1.082 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/11.19, allocations: 0 / 4.983 GB, free: 1.082 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002527/11.2, allocations: 0.5462 MB / 4.984 GB, free: 0.5352 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.846e-05/11.2, allocations: 11.95 kB / 4.984 GB, free: 0.5234 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002208/11.2, allocations: 67.97 kB / 4.984 GB, free: 468 kB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.722e-05/11.2, allocations: 8 kB / 4.984 GB, free: 460 kB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/11.2, allocations: 4 kB / 4.984 GB, free: 456 kB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007402/11.2, allocations: 4.531 MB / 4.988 GB, free: 11.83 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002221/11.21, allocations: 0.6148 MB / 4.989 GB, free: 11.2 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006867/11.21, allocations: 59.94 kB / 4.989 GB, free: 11.14 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002988/11.21, allocations: 223.5 kB / 4.989 GB, free: 10.92 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002876/11.21, allocations: 150 kB / 4.989 GB, free: 10.77 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002262/11.21, allocations: 87.91 kB / 4.989 GB, free: 10.68 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.002029/11.21, allocations: 0.9305 MB / 4.99 GB, free: 9.758 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.71e-07/11.21, allocations: 8 kB / 4.99 GB, free: 9.75 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.006879/11.22, allocations: 1.365 MB / 4.991 GB, free: 8.383 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (278): * Single equations (assignments): 278 * 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.017/11.24, allocations: 9.276 MB / 5 GB, free: 14.63 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.006207/11.24, allocations: 2.74 MB / 5.003 GB, free: 11.86 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/11.24, allocations: 0 / 5.003 GB, free: 11.86 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.003022/11.25, allocations: 1.468 MB / 5.005 GB, free: 10.39 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007168/11.25, allocations: 1.252 MB / 5.006 GB, free: 9.145 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8164/12.07, allocations: 11.79 MB / 5.017 GB, free: 171.7 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002205/12.07, allocations: 1.948 MB / 5.019 GB, free: 170.9 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.004525/12.08, allocations: 0.8501 MB / 5.02 GB, free: 170.9 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002134/12.08, allocations: 1.095 MB / 5.021 GB, free: 170.9 MB / 1.229 GB Notification: Performance of SimCode: time 1.203e-06/12.08, allocations: 0 / 5.021 GB, free: 170.9 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2272/12.31, allocations: 121 MB / 5.139 GB, free: 168.6 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/12.31, allocations: 196.7 kB / 5.139 GB, free: 168.3 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.562/18.87, allocations: 0 / 5.139 GB, free: 168.3 MB / 1.229 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat does not exist to compare? outputFormat=mat