Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.149/2.149, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.00114/0.00114, allocations: 185 kB / 498.1 MB, free: 5.742 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.408/1.408, allocations: 223.1 MB / 0.7948 GB, free: 18.87 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.0009012/0.0009012, allocations: 96.14 kB / 0.9346 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003719, allocations: 9 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2449, allocations: 142.4 MB / 1.223 GB, free: 89.51 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.046/4.291, allocations: 1.935 GB / 3.157 GB, free: 44.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/4.291, allocations: 97.12 kB / 3.158 GB, free: 44 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.629/10.92, allocations: 1.76 GB / 4.917 GB, free: 48.29 MB / 1.182 GB Notification: Performance of FrontEnd: time 3.897e-06/10.92, allocations: 0 / 4.917 GB, free: 48.29 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0002599/10.92, allocations: 75.92 kB / 4.917 GB, free: 48.21 MB / 1.182 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.01926/10.94, allocations: 3.964 MB / 4.921 GB, free: 44.18 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/10.94, allocations: 8.031 kB / 4.921 GB, free: 44.17 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001889/10.94, allocations: 379 kB / 4.922 GB, free: 43.79 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00791/10.95, allocations: 0.9016 MB / 4.923 GB, free: 42.89 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007691/10.96, allocations: 1.918 MB / 4.924 GB, free: 40.91 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003191/10.96, allocations: 205.1 kB / 4.925 GB, free: 40.71 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001428/10.96, allocations: 263.9 kB / 4.925 GB, free: 40.45 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/10.97, allocations: 3.272 MB / 4.928 GB, free: 37.06 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002448/10.97, allocations: 4 kB / 4.928 GB, free: 37.06 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009118/10.97, allocations: 108 kB / 4.928 GB, free: 36.95 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001491/10.97, allocations: 125 kB / 4.928 GB, free: 36.83 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007829/10.98, allocations: 3.408 MB / 4.932 GB, free: 33.41 MB / 1.182 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.02201/11, allocations: 12.34 MB / 4.944 GB, free: 20.17 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005196/11.01, allocations: 3.368 MB / 4.947 GB, free: 16.71 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001461/11.01, allocations: 1.497 MB / 4.948 GB, free: 14.9 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.351e-05/11.01, allocations: 64.75 kB / 4.948 GB, free: 14.83 MB / 1.182 GB Notification: Performance of pre-optimization done (n=278): time 4.478e-06/11.01, allocations: 0 / 4.948 GB, free: 14.83 MB / 1.182 GB Notification: Performance of matching and sorting (n=278): time 0.008024/11.02, allocations: 3.862 MB / 4.952 GB, free: 10.91 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/11.02, allocations: 77.59 kB / 4.952 GB, free: 10.82 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00293/11.02, allocations: 1.2 MB / 4.953 GB, free: 9.617 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0003077/11.02, allocations: 77.7 kB / 4.954 GB, free: 9.535 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008167/11.02, allocations: 0.9844 MB / 4.955 GB, free: 8.539 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.000985/11.02, allocations: 0.9431 MB / 4.955 GB, free: 7.582 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/11.02, allocations: 44 kB / 4.955 GB, free: 7.539 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001976/11.02, allocations: 406.8 kB / 4.956 GB, free: 7.137 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/11.02, allocations: 1.082 MB / 4.957 GB, free: 6.051 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002202/11.03, allocations: 1.381 MB / 4.958 GB, free: 4.578 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002416/11.03, allocations: 1.275 MB / 4.96 GB, free: 3.285 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.908e-05/11.03, allocations: 4 kB / 4.96 GB, free: 3.281 MB / 1.182 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005796/11.03, allocations: 2.95 MB / 4.962 GB, free: 292 kB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/11.03, allocations: 9.562 kB / 4.962 GB, free: 284 kB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/11.03, allocations: 4 kB / 4.962 GB, free: 280 kB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.772e-05/11.03, allocations: 16.56 kB / 4.962 GB, free: 264 kB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/11.04, allocations: 0.5149 MB / 4.963 GB, free: 15.74 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.508e-05/11.04, allocations: 19.94 kB / 4.963 GB, free: 15.72 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004186/11.04, allocations: 381.6 kB / 4.963 GB, free: 15.35 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003042/11.04, allocations: 83.98 kB / 4.963 GB, free: 15.27 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.002292/11.04, allocations: 0.6584 MB / 4.964 GB, free: 14.6 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/11.04, allocations: 229.3 kB / 4.964 GB, free: 14.37 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006481/11.05, allocations: 3.108 MB / 4.967 GB, free: 11.21 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.337e-05/11.05, allocations: 24 kB / 4.967 GB, free: 11.18 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/11.05, allocations: 4 kB / 4.967 GB, free: 11.18 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005051/11.06, allocations: 2.638 MB / 4.97 GB, free: 8.473 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01741/11.07, allocations: 6.186 MB / 4.976 GB, free: 2.18 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/11.07, allocations: 0 / 4.976 GB, free: 2.18 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002895/11.08, allocations: 0.5462 MB / 4.976 GB, free: 1.633 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.855e-05/11.08, allocations: 8 kB / 4.976 GB, free: 1.625 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002831/11.08, allocations: 67.94 kB / 4.977 GB, free: 1.559 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.602e-05/11.08, allocations: 8 kB / 4.977 GB, free: 1.551 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/11.08, allocations: 0 / 4.977 GB, free: 1.551 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007918/11.09, allocations: 4.531 MB / 4.981 GB, free: 12.93 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002321/11.09, allocations: 0.611 MB / 4.982 GB, free: 12.3 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000737/11.09, allocations: 55.98 kB / 4.982 GB, free: 12.25 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003045/11.09, allocations: 227.5 kB / 4.982 GB, free: 12.02 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002822/11.09, allocations: 150 kB / 4.982 GB, free: 11.88 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002319/11.09, allocations: 87.91 kB / 4.982 GB, free: 11.79 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.002099/11.09, allocations: 0.9305 MB / 4.983 GB, free: 10.86 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.8e-07/11.09, allocations: 4 kB / 4.983 GB, free: 10.86 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.005333/11.1, allocations: 1.365 MB / 4.984 GB, free: 9.492 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.8593/11.96, allocations: 9.277 MB / 4.993 GB, free: 166.1 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.008377/11.97, allocations: 2.737 MB / 4.996 GB, free: 166 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/11.97, allocations: 1.5 kB / 4.996 GB, free: 166 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.003891/11.97, allocations: 1.475 MB / 4.997 GB, free: 166 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0088/11.98, allocations: 1.242 MB / 4.999 GB, free: 166 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02554/12.01, allocations: 11.79 MB / 5.01 GB, free: 159.5 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003004/12.01, allocations: 1.952 MB / 5.012 GB, free: 158.8 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.005615/12.01, allocations: 0.8484 MB / 5.013 GB, free: 158.8 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002909/12.02, allocations: 1.098 MB / 5.014 GB, free: 158.7 MB / 1.214 GB Notification: Performance of SimCode: time 1.794e-05/12.02, allocations: 0 / 5.014 GB, free: 158.7 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2395/12.26, allocations: 120.9 MB / 5.132 GB, free: 155.7 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/12.26, allocations: 185.5 kB / 5.132 GB, free: 155.5 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.858/18.12, allocations: 2.516 kB / 5.132 GB, free: 155.5 MB / 1.214 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat does not exist to compare? outputFormat=mat