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.001148/0.001148, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001258/0.001258, allocations: 177.3 kB / 15.94 MB, free: 228 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.359/1.359, allocations: 223.2 MB / 239.9 MB, free: 5.32 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.417/2.417, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.000333, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7345/0.7348, allocations: 142.3 MB / 0.9536 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.2776/1.012, allocations: 254.2 MB / 1.202 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02841/1.041, allocations: 18.61 MB / 1.22 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004389/1.045, allocations: 71.56 kB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006237/1.052, allocations: 1.875 MB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01799/1.07, allocations: 5.483 MB / 1.227 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.008586/1.078, allocations: 2.458 MB / 1.23 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01025/1.089, allocations: 5.196 MB / 1.235 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004549/1.093, allocations: 2.405 MB / 1.237 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007311/1.1, allocations: 2.8 MB / 1.24 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004837/1.105, allocations: 2.087 MB / 1.242 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001456/1.107, allocations: 196 kB / 1.242 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009007/1.116, allocations: 2.773 MB / 1.245 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002645/1.119, allocations: 1.325 MB / 1.246 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002174/1.121, allocations: 0.8006 MB / 1.247 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.7196/1.84, allocations: 4.873 MB / 1.252 GB, free: 18.95 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.84, allocations: 0.9375 kB / 1.252 GB, free: 18.95 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.144e-06/1.84, allocations: 0.6562 kB / 1.252 GB, free: 18.95 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002666/1.841, allocations: 0 / 1.252 GB, free: 18.95 MB / 0.9981 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.01745/1.858, allocations: 4.215 MB / 1.256 GB, free: 17.21 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/1.858, allocations: 9.688 kB / 1.256 GB, free: 17.21 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00257/1.861, allocations: 462.9 kB / 1.256 GB, free: 17.15 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009072/1.87, allocations: 1.02 MB / 1.257 GB, free: 16.94 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008328/1.878, allocations: 2.085 MB / 1.259 GB, free: 16.44 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000514/1.879, allocations: 244.6 kB / 1.259 GB, free: 16.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002378/1.881, allocations: 331.1 kB / 1.26 GB, free: 16.43 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01801/1.899, allocations: 4.187 MB / 1.264 GB, free: 16.12 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002809/1.9, allocations: 8.172 kB / 1.264 GB, free: 16.12 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001509/1.901, allocations: 134.4 kB / 1.264 GB, free: 16.12 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003011/1.901, allocations: 171.3 kB / 1.264 GB, free: 16.11 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/1.915, allocations: 4.757 MB / 1.269 GB, free: 16.07 MB / 0.9981 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.03007/1.945, allocations: 14.39 MB / 1.283 GB, free: 25.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007157/1.952, allocations: 4.53 MB / 1.287 GB, free: 25.41 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002052/1.954, allocations: 1.528 MB / 1.289 GB, free: 23.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.743e-05/1.954, allocations: 81.98 kB / 1.289 GB, free: 23.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=392): time 5.901e-06/1.954, allocations: 0 / 1.289 GB, free: 23.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=392): time 0.01265/1.967, allocations: 5.505 MB / 1.294 GB, free: 23.47 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.086e-05/1.967, allocations: 96.97 kB / 1.294 GB, free: 23.4 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003205/1.97, allocations: 1.668 MB / 1.296 GB, free: 23.18 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0006594/1.971, allocations: 91.77 kB / 1.296 GB, free: 23.15 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000866/1.972, allocations: 1.133 MB / 1.297 GB, free: 22.73 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001618/1.973, allocations: 1.32 MB / 1.298 GB, free: 21.86 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004831/1.974, allocations: 67.12 kB / 1.298 GB, free: 21.86 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0003213/1.974, allocations: 440.9 kB / 1.299 GB, free: 21.55 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002921/1.977, allocations: 1.55 MB / 1.3 GB, free: 21.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003072/1.98, allocations: 1.886 MB / 1.302 GB, free: 21.33 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003307/1.984, allocations: 1.828 MB / 1.304 GB, free: 21.28 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-05/1.984, allocations: 3.281 kB / 1.304 GB, free: 21.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007702/1.991, allocations: 4.146 MB / 1.308 GB, free: 21.01 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/1.991, allocations: 10.41 kB / 1.308 GB, free: 21.01 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/1.991, allocations: 5.969 kB / 1.308 GB, free: 21.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.878e-05/1.991, allocations: 21.22 kB / 1.308 GB, free: 21.01 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003314/1.995, allocations: 0.7047 MB / 1.309 GB, free: 21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.461e-05/1.995, allocations: 26.81 kB / 1.309 GB, free: 21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004915/2, allocations: 471.1 kB / 1.309 GB, free: 20.83 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005607/2, allocations: 117.3 kB / 1.309 GB, free: 20.83 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.002525/2.003, allocations: 0.7947 MB / 1.31 GB, free: 20.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/2.004, allocations: 293.6 kB / 1.31 GB, free: 20.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009342/2.014, allocations: 4.423 MB / 1.315 GB, free: 20.34 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.239e-05/2.014, allocations: 38.66 kB / 1.315 GB, free: 20.34 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.328e-05/2.014, allocations: 3.375 kB / 1.315 GB, free: 20.34 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006615/2.02, allocations: 3.774 MB / 1.318 GB, free: 19.99 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02256/2.043, allocations: 8.613 MB / 1.327 GB, free: 19.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/2.043, allocations: 0 / 1.327 GB, free: 19.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003961/2.047, allocations: 0.7232 MB / 1.328 GB, free: 19.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.315e-05/2.047, allocations: 16.91 kB / 1.328 GB, free: 19.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005863/2.048, allocations: 82.69 kB / 1.328 GB, free: 19.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.635e-05/2.048, allocations: 14.69 kB / 1.328 GB, free: 19.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/2.048, allocations: 5.969 kB / 1.328 GB, free: 19.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/2.06, allocations: 6.699 MB / 1.334 GB, free: 18.39 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002966/2.063, allocations: 0.8015 MB / 1.335 GB, free: 18.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001088/2.064, allocations: 75.12 kB / 1.335 GB, free: 18.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003851/2.068, allocations: 263.9 kB / 1.335 GB, free: 18.07 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005256/2.068, allocations: 236.8 kB / 1.336 GB, free: 18.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003673/2.069, allocations: 113.6 kB / 1.336 GB, free: 18.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002207/2.071, allocations: 1.138 MB / 1.337 GB, free: 17.91 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.91e-07/2.071, allocations: 0 / 1.337 GB, free: 17.91 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004497/2.075, allocations: 1.222 MB / 1.338 GB, free: 17.79 MB / 1.014 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.01325/2.089, allocations: 8.26 MB / 1.346 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00786/2.096, allocations: 3.898 MB / 1.35 GB, free: 15.75 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/2.096, allocations: 4.422 kB / 1.35 GB, free: 15.75 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004173/2.101, allocations: 2.143 MB / 1.352 GB, free: 15.73 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009258/2.11, allocations: 1.474 MB / 1.353 GB, free: 15.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02474/2.135, allocations: 14.04 MB / 1.367 GB, free: 7.309 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002675/2.137, allocations: 2.269 MB / 1.369 GB, free: 5.785 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.006096/2.144, allocations: 1.22 MB / 1.37 GB, free: 4.562 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002912/2.147, allocations: 1.384 MB / 1.372 GB, free: 4.219 MB / 1.014 GB Notification: Performance of SimCode: time 8.01e-07/2.147, allocations: 0 / 1.372 GB, free: 4.219 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1389/2.285, allocations: 83.24 MB / 1.453 GB, free: 1.996 MB / 1.092 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/2.286, allocations: 226.6 kB / 1.453 GB, free: 1.754 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.473/6.759, allocations: 3.938 kB / 1.453 GB, free: 1.75 MB / 1.092 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