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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000795/0.0007949, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008348/0.0008348, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.523/2.523, allocations: 390.4 MB / 0.6655 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6554/0.6558, allocations: 142.3 MB / 0.9538 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.2976/0.9535, allocations: 287.1 MB / 1.234 GB, free: 312 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6566/1.61, allocations: 17.33 MB / 1.251 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003627/1.614, allocations: 74.28 kB / 1.251 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004903/1.619, allocations: 1.404 MB / 1.253 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0171/1.636, allocations: 5.333 MB / 1.258 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007244/1.643, allocations: 2.242 MB / 1.26 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01541/1.659, allocations: 10.98 MB / 1.271 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005465/1.664, allocations: 2.375 MB / 1.273 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007568/1.672, allocations: 2.864 MB / 1.276 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006237/1.678, allocations: 3.148 MB / 1.279 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007099/1.679, allocations: 196.5 kB / 1.279 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009858/1.689, allocations: 3.481 MB / 1.282 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002016/1.691, allocations: 1.467 MB / 1.284 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002905/1.693, allocations: 0.8058 MB / 1.285 GB, free: 28.13 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008629/1.702, allocations: 5.385 MB / 1.29 GB, free: 27.71 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.702, allocations: 6.219 kB / 1.29 GB, free: 27.71 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.933e-06/1.702, allocations: 0 / 1.29 GB, free: 27.71 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001617/1.702, allocations: 0 / 1.29 GB, free: 27.71 MB / 1.014 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.01047/1.713, allocations: 4.362 MB / 1.294 GB, free: 25.86 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/1.713, allocations: 9.25 kB / 1.294 GB, free: 25.86 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008552/1.714, allocations: 461.5 kB / 1.295 GB, free: 25.8 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006379/1.72, allocations: 1.008 MB / 1.296 GB, free: 25.58 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004171/1.724, allocations: 2.09 MB / 1.298 GB, free: 25.08 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/1.724, allocations: 243.7 kB / 1.298 GB, free: 25.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004915/1.725, allocations: 327.1 kB / 1.298 GB, free: 25.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006561/1.732, allocations: 4.212 MB / 1.302 GB, free: 24.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.724e-05/1.732, allocations: 9.297 kB / 1.302 GB, free: 24.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002857/1.732, allocations: 136.6 kB / 1.302 GB, free: 24.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/1.732, allocations: 173.1 kB / 1.303 GB, free: 24.76 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006963/1.739, allocations: 4.752 MB / 1.307 GB, free: 24.72 MB / 1.014 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.02014/1.759, allocations: 14.39 MB / 1.321 GB, free: 18.2 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005801/1.765, allocations: 4.532 MB / 1.326 GB, free: 17.87 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003634/1.769, allocations: 2.433 MB / 1.328 GB, free: 17.53 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002194/1.771, allocations: 1.617 MB / 1.33 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.859e-05/1.771, allocations: 77.39 kB / 1.33 GB, free: 15.73 MB / 1.014 GB Notification: Performance of pre-optimization done (n=392): time 5.761e-06/1.771, allocations: 2.625 kB / 1.33 GB, free: 15.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=392): time 0.008912/1.78, allocations: 5.503 MB / 1.335 GB, free: 14.82 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.285e-05/1.78, allocations: 100.2 kB / 1.335 GB, free: 14.75 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002453/1.783, allocations: 1.666 MB / 1.337 GB, free: 14.27 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0005255/1.783, allocations: 93.92 kB / 1.337 GB, free: 14.23 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007847/1.784, allocations: 1.132 MB / 1.338 GB, free: 13.69 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001311/1.785, allocations: 1.327 MB / 1.339 GB, free: 12.71 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/1.785, allocations: 69.56 kB / 1.339 GB, free: 12.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002664/1.786, allocations: 439.1 kB / 1.34 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002288/1.788, allocations: 1.549 MB / 1.341 GB, free: 12.13 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002556/1.791, allocations: 1.905 MB / 1.343 GB, free: 11.64 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002665/1.793, allocations: 1.83 MB / 1.345 GB, free: 11.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/1.793, allocations: 2.734 kB / 1.345 GB, free: 11.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006525/1.8, allocations: 4.152 MB / 1.349 GB, free: 10.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/1.8, allocations: 8.375 kB / 1.349 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/1.8, allocations: 8.438 kB / 1.349 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.258e-05/1.8, allocations: 19.09 kB / 1.349 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002889/1.803, allocations: 0.6967 MB / 1.35 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-05/1.803, allocations: 23.56 kB / 1.35 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003537/1.806, allocations: 484 kB / 1.35 GB, free: 10.42 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002783/1.807, allocations: 118.6 kB / 1.35 GB, free: 10.41 MB / 1.014 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.001733/1.808, allocations: 0.7883 MB / 1.351 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006907/1.809, allocations: 292 kB / 1.351 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006822/1.816, allocations: 4.431 MB / 1.356 GB, free: 9.219 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.224e-05/1.816, allocations: 37.09 kB / 1.356 GB, free: 9.219 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/1.816, allocations: 0 / 1.356 GB, free: 9.219 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005259/1.821, allocations: 3.783 MB / 1.36 GB, free: 8.461 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01771/1.839, allocations: 8.621 MB / 1.368 GB, free: 5.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-05/1.839, allocations: 4 kB / 1.368 GB, free: 5.227 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00353/1.843, allocations: 0.7252 MB / 1.369 GB, free: 4.566 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.57e-05/1.843, allocations: 16 kB / 1.369 GB, free: 4.551 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004655/1.843, allocations: 84.23 kB / 1.369 GB, free: 4.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.334e-05/1.843, allocations: 19.98 kB / 1.369 GB, free: 4.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.843, allocations: 2.438 kB / 1.369 GB, free: 4.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/1.854, allocations: 6.534 MB / 1.375 GB, free: 56 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002277/1.856, allocations: 0.7961 MB / 1.376 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007835/1.857, allocations: 80.38 kB / 1.376 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002807/1.86, allocations: 258.2 kB / 1.376 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000414/1.86, allocations: 241.9 kB / 1.376 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002675/1.861, allocations: 115.7 kB / 1.377 GB, free: 14.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001965/1.863, allocations: 1.139 MB / 1.378 GB, free: 14.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/1.863, allocations: 3.656 kB / 1.378 GB, free: 14.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003402/1.866, allocations: 1.229 MB / 1.379 GB, free: 12.93 MB / 1.029 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.01075/1.877, allocations: 7.463 MB / 1.386 GB, free: 7.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005647/1.883, allocations: 3.903 MB / 1.39 GB, free: 5.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/1.883, allocations: 4 kB / 1.39 GB, free: 5.016 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003021/1.886, allocations: 2.143 MB / 1.392 GB, free: 3.594 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009115/1.895, allocations: 1.535 MB / 1.394 GB, free: 2.383 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04673/1.942, allocations: 23.16 MB / 1.416 GB, free: 14.45 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002502/1.944, allocations: 2.212 MB / 1.418 GB, free: 12.32 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.005117/1.949, allocations: 1.204 MB / 1.42 GB, free: 11.11 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002309/1.952, allocations: 1.388 MB / 1.421 GB, free: 10.76 MB / 1.061 GB Notification: Performance of SimCode: time 7.41e-07/1.952, allocations: 0 / 1.421 GB, free: 10.76 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1391/2.091, allocations: 84.71 MB / 1.504 GB, free: 7.039 MB / 1.139 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/2.091, allocations: 226.5 kB / 1.504 GB, free: 6.801 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.443/6.534, allocations: 0 / 1.504 GB, free: 6.801 MB / 1.139 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