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.401/2.401, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.00159/0.00159, allocations: 184.8 kB / 487.4 MB, free: 5.047 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.939/1.939, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 99.64 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.33e-05/2.331e-05, allocations: 5.625 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3404, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.569/5.91, allocations: 1.937 GB / 3.143 GB, free: 346.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/5.91, allocations: 86.92 kB / 3.143 GB, free: 346.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.867/12.78, allocations: 1.954 GB / 5.097 GB, free: 132.4 MB / 1.198 GB Notification: Performance of FrontEnd: time 4.168e-06/12.78, allocations: 0 / 5.097 GB, free: 132.4 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0006144/12.78, allocations: 88.05 kB / 5.097 GB, free: 132.4 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.02217/12.8, allocations: 4.289 MB / 5.101 GB, free: 130.6 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/12.8, allocations: 11.5 kB / 5.101 GB, free: 130.6 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0088/12.81, allocations: 0.995 MB / 5.102 GB, free: 130.4 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007428/12.82, allocations: 2.23 MB / 5.104 GB, free: 129.8 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002538/12.82, allocations: 105.4 kB / 5.104 GB, free: 129.8 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001586/12.82, allocations: 201.2 kB / 5.104 GB, free: 129.8 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01008/12.83, allocations: 4.138 MB / 5.109 GB, free: 129.8 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01138/12.84, allocations: 3.628 MB / 5.112 GB, free: 129.4 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002018/12.84, allocations: 3.906 kB / 5.112 GB, free: 129.4 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001089/12.84, allocations: 5.906 kB / 5.112 GB, free: 129.4 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001923/12.84, allocations: 152.4 kB / 5.112 GB, free: 129.4 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.02835/12.87, allocations: 14.34 MB / 5.126 GB, free: 121.8 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008037/12.88, allocations: 5.107 MB / 5.131 GB, free: 119 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003978/12.88, allocations: 2.287 MB / 5.133 GB, free: 118.1 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001572/12.88, allocations: 1.615 MB / 5.135 GB, free: 116.4 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.161e-05/12.88, allocations: 80.95 kB / 5.135 GB, free: 116.4 MB / 1.198 GB Notification: Performance of pre-optimization done (n=392): time 6.753e-06/12.88, allocations: 0 / 5.135 GB, free: 116.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=392): time 0.01036/12.89, allocations: 4.024 MB / 5.139 GB, free: 115 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/12.89, allocations: 96.02 kB / 5.139 GB, free: 114.9 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003024/12.9, allocations: 1.206 MB / 5.14 GB, free: 114.4 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0005919/12.9, allocations: 27.8 kB / 5.14 GB, free: 114.4 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00103/12.9, allocations: 1.137 MB / 5.141 GB, free: 113.5 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001578/12.9, allocations: 1.264 MB / 5.143 GB, free: 112.5 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000399/12.9, allocations: 2.562 kB / 5.143 GB, free: 112.5 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0003342/12.9, allocations: 440.5 kB / 5.143 GB, free: 112.2 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002585/12.9, allocations: 1.487 MB / 5.145 GB, free: 111.6 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002887/12.91, allocations: 1.86 MB / 5.146 GB, free: 110.1 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00489/12.91, allocations: 2.058 MB / 5.148 GB, free: 108 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-05/12.91, allocations: 0 / 5.148 GB, free: 108 MB / 1.198 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009449/12.92, allocations: 4.187 MB / 5.152 GB, free: 103.8 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/12.92, allocations: 10.03 kB / 5.152 GB, free: 103.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/12.92, allocations: 7.938 kB / 5.152 GB, free: 103.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.873e-05/12.92, allocations: 20 kB / 5.152 GB, free: 103.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003571/12.92, allocations: 0.7139 MB / 5.153 GB, free: 103.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001122/12.92, allocations: 27.09 kB / 5.153 GB, free: 103 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005624/12.93, allocations: 406.1 kB / 5.154 GB, free: 102.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009475/12.93, allocations: 135.9 kB / 5.154 GB, free: 102.5 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.001546/12.93, allocations: 152.2 kB / 5.154 GB, free: 102.4 MB / 1.198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009945/12.94, allocations: 3.967 MB / 5.158 GB, free: 98.38 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/12.94, allocations: 276.7 kB / 5.158 GB, free: 98.11 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009591/12.95, allocations: 4.4 MB / 5.162 GB, free: 93.68 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-05/12.95, allocations: 43.94 kB / 5.162 GB, free: 93.64 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/12.95, allocations: 0 / 5.162 GB, free: 93.64 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006984/12.96, allocations: 3.845 MB / 5.166 GB, free: 89.73 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 postOpt removeSimpleEquations (simulation): time 0.01854/12.98, allocations: 8.735 MB / 5.175 GB, free: 80.89 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/12.98, allocations: 11.55 kB / 5.175 GB, free: 80.88 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003724/12.98, allocations: 0.7443 MB / 5.175 GB, free: 80.14 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.628e-05/12.98, allocations: 12 kB / 5.175 GB, free: 80.12 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005464/12.98, allocations: 47.95 kB / 5.175 GB, free: 80.08 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.324e-05/12.98, allocations: 16 kB / 5.175 GB, free: 80.06 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/12.98, allocations: 7.922 kB / 5.175 GB, free: 80.05 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/13, allocations: 6.614 MB / 5.182 GB, free: 73.3 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002883/13, allocations: 0.7934 MB / 5.183 GB, free: 72.49 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001134/13, allocations: 19.92 kB / 5.183 GB, free: 72.47 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003983/13, allocations: 209.4 kB / 5.183 GB, free: 72.29 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004549/13.01, allocations: 214.7 kB / 5.183 GB, free: 72.07 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004496/13.01, allocations: 127.9 kB / 5.183 GB, free: 71.95 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.002279/13.01, allocations: 0.9199 MB / 5.184 GB, free: 71.04 MB / 1.198 GB Notification: Performance of sort global known variables: time 6.91e-07/13.01, allocations: 0 / 5.184 GB, free: 71.04 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.006367/13.01, allocations: 1.427 MB / 5.186 GB, free: 69.61 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.02312/13.04, allocations: 13.25 MB / 5.198 GB, free: 56.67 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.007588/13.05, allocations: 3.741 MB / 5.202 GB, free: 52.92 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/13.05, allocations: 4 kB / 5.202 GB, free: 52.91 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.003738/13.05, allocations: 2.025 MB / 5.204 GB, free: 50.89 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008711/13.06, allocations: 1.281 MB / 5.205 GB, free: 49.66 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01905/13.08, allocations: 7.233 MB / 5.212 GB, free: 42.42 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002507/13.08, allocations: 2.278 MB / 5.215 GB, free: 40.1 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.005925/13.09, allocations: 1.203 MB / 5.216 GB, free: 38.93 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003142/13.09, allocations: 1.39 MB / 5.217 GB, free: 37.54 MB / 1.198 GB Notification: Performance of SimCode: time 8.41e-07/13.09, allocations: 0 / 5.217 GB, free: 37.54 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.051/14.14, allocations: 110 MB / 5.325 GB, free: 172.7 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/14.14, allocations: 174.2 kB / 5.325 GB, free: 172.6 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.24/20.38, allocations: 0 / 5.325 GB, free: 172.6 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