Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_latest_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.001004/0.001004, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001178/0.001178, allocations: 168.7 kB / 15.95 MB, free: 204 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.339/1.339, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.516/2.516, allocations: 409.4 MB / 0.684 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000459/0.0004591, allocations: 11.94 kB / 0.8378 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6847/0.6852, allocations: 146.8 MB / 0.9811 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.9546/1.64, allocations: 287.1 MB / 1.261 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02641/1.666, allocations: 17.34 MB / 1.278 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005498/1.672, allocations: 73.41 kB / 1.279 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005388/1.677, allocations: 1.403 MB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.016/1.693, allocations: 5.331 MB / 1.285 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01085/1.704, allocations: 2.242 MB / 1.287 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01325/1.717, allocations: 10.98 MB / 1.298 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005808/1.723, allocations: 2.374 MB / 1.3 GB, free: 26.4 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007136/1.73, allocations: 2.861 MB / 1.303 GB, free: 26.39 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008266/1.739, allocations: 3.156 MB / 1.306 GB, free: 26.38 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002053/1.741, allocations: 196.8 kB / 1.306 GB, free: 26.38 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01309/1.754, allocations: 3.474 MB / 1.31 GB, free: 26.31 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00469/1.759, allocations: 1.475 MB / 1.311 GB, free: 26.31 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004442/1.763, allocations: 0.7974 MB / 1.312 GB, free: 26.28 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01128/1.774, allocations: 5.391 MB / 1.317 GB, free: 25.85 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.775, allocations: 0 / 1.317 GB, free: 25.85 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.505e-06/1.775, allocations: 0 / 1.317 GB, free: 25.85 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002517/1.775, allocations: 0 / 1.317 GB, free: 25.85 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.0134/1.788, allocations: 4.366 MB / 1.322 GB, free: 24 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/1.788, allocations: 8.594 kB / 1.322 GB, free: 24 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001645/1.79, allocations: 459.1 kB / 1.322 GB, free: 23.94 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007286/1.797, allocations: 1.01 MB / 1.323 GB, free: 23.73 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006098/1.803, allocations: 2.093 MB / 1.325 GB, free: 23.22 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003064/1.804, allocations: 244.2 kB / 1.325 GB, free: 23.21 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001311/1.805, allocations: 324.6 kB / 1.326 GB, free: 23.21 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/1.816, allocations: 4.22 MB / 1.33 GB, free: 22.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/1.816, allocations: 6.906 kB / 1.33 GB, free: 22.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006808/1.816, allocations: 133.2 kB / 1.33 GB, free: 22.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001895/1.817, allocations: 174.2 kB / 1.33 GB, free: 22.9 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008754/1.825, allocations: 4.752 MB / 1.335 GB, free: 22.56 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.02205/1.847, allocations: 14.39 MB / 1.349 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006147/1.854, allocations: 4.539 MB / 1.353 GB, free: 13.19 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003409/1.857, allocations: 2.428 MB / 1.355 GB, free: 12.86 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001765/1.859, allocations: 1.619 MB / 1.357 GB, free: 11.1 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.022e-05/1.859, allocations: 84.86 kB / 1.357 GB, free: 11.05 MB / 1.014 GB Notification: Performance of pre-optimization done (n=392): time 5.5e-06/1.859, allocations: 0 / 1.357 GB, free: 11.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=392): time 0.008714/1.868, allocations: 5.505 MB / 1.362 GB, free: 10.14 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.62e-05/1.868, allocations: 95.61 kB / 1.363 GB, free: 10.08 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002651/1.87, allocations: 1.668 MB / 1.364 GB, free: 9.594 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004295/1.871, allocations: 97.58 kB / 1.364 GB, free: 9.559 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007592/1.872, allocations: 1.134 MB / 1.365 GB, free: 9.016 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001303/1.873, allocations: 1.318 MB / 1.367 GB, free: 8.043 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/1.873, allocations: 64.62 kB / 1.367 GB, free: 8.043 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002633/1.873, allocations: 445.5 kB / 1.367 GB, free: 7.691 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002427/1.876, allocations: 1.547 MB / 1.369 GB, free: 7.457 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002719/1.879, allocations: 1.907 MB / 1.371 GB, free: 6.973 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002951/1.882, allocations: 1.831 MB / 1.372 GB, free: 6.758 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/1.882, allocations: 3.406 kB / 1.372 GB, free: 6.758 MB / 1.014 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007126/1.889, allocations: 4.15 MB / 1.376 GB, free: 6.074 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.164e-05/1.889, allocations: 10.67 kB / 1.376 GB, free: 6.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/1.889, allocations: 8.594 kB / 1.376 GB, free: 6.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.512e-05/1.889, allocations: 21.31 kB / 1.376 GB, free: 6.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002991/1.892, allocations: 0.6973 MB / 1.377 GB, free: 5.988 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.849e-05/1.892, allocations: 20.78 kB / 1.377 GB, free: 5.988 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003897/1.896, allocations: 479.4 kB / 1.378 GB, free: 5.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000418/1.896, allocations: 116.1 kB / 1.378 GB, free: 5.746 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.002315/1.899, allocations: 0.7906 MB / 1.378 GB, free: 5.383 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001264/1.9, allocations: 304 kB / 1.379 GB, free: 5.086 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009062/1.909, allocations: 4.422 MB / 1.383 GB, free: 2.23 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-05/1.909, allocations: 36 kB / 1.383 GB, free: 2.195 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.22e-05/1.909, allocations: 0 / 1.383 GB, free: 2.195 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006491/1.916, allocations: 3.781 MB / 1.387 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01658/1.932, allocations: 8.62 MB / 1.395 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/1.932, allocations: 0 / 1.395 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003375/1.936, allocations: 0.7248 MB / 1.396 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.4e-05/1.936, allocations: 17.86 kB / 1.396 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003444/1.936, allocations: 89.86 kB / 1.396 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.819e-05/1.936, allocations: 23.66 kB / 1.396 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.936, allocations: 4 kB / 1.396 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01061/1.947, allocations: 6.53 MB / 1.402 GB, free: 4.492 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002478/1.949, allocations: 0.8018 MB / 1.403 GB, free: 3.848 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008326/1.95, allocations: 75.08 kB / 1.403 GB, free: 3.828 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00319/1.953, allocations: 267.7 kB / 1.404 GB, free: 3.617 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004445/1.954, allocations: 233.8 kB / 1.404 GB, free: 3.414 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002842/1.954, allocations: 114.8 kB / 1.404 GB, free: 3.328 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00239/1.957, allocations: 1.137 MB / 1.405 GB, free: 2.484 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.957, allocations: 0 / 1.405 GB, free: 2.484 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.004231/1.961, allocations: 1.228 MB / 1.406 GB, free: 1.367 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.01202/1.973, allocations: 7.46 MB / 1.413 GB, free: 12.11 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.006558/1.979, allocations: 3.904 MB / 1.417 GB, free: 9.453 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/1.979, allocations: 384 / 1.417 GB, free: 9.453 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003312/1.983, allocations: 2.141 MB / 1.419 GB, free: 8.031 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008598/1.991, allocations: 1.55 MB / 1.421 GB, free: 6.801 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04615/2.038, allocations: 23.16 MB / 1.444 GB, free: 2.855 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002523/2.04, allocations: 2.205 MB / 1.446 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.005632/2.046, allocations: 1.2 MB / 1.447 GB, free: 15.52 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002772/2.049, allocations: 1.386 MB / 1.448 GB, free: 15.18 MB / 1.076 GB Notification: Performance of SimCode: time 1.032e-06/2.049, allocations: 0 / 1.448 GB, free: 15.18 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1352/2.184, allocations: 84.71 MB / 1.531 GB, free: 11.46 MB / 1.154 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/2.184, allocations: 230.3 kB / 1.531 GB, free: 11.22 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.133/6.317, allocations: 0 / 1.531 GB, free: 11.22 MB / 1.154 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat does not exist to compare? outputFormat=mat