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.001325/0.001325, allocations: 99.86 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.001715/0.001716, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.634/2.634, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.765/4.765, allocations: 409.2 MB / 0.6838 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006452/0.0006453, allocations: 8 kB / 0.8375 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592/1.593, allocations: 146.8 MB / 0.9809 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5543/2.147, allocations: 254.2 MB / 1.229 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.05814/2.205, allocations: 18.61 MB / 1.247 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009386/2.215, allocations: 67.56 kB / 1.247 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01224/2.227, allocations: 1.874 MB / 1.249 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 1.659/3.886, allocations: 5.469 MB / 1.254 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01537/3.902, allocations: 2.465 MB / 1.257 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02145/3.923, allocations: 5.196 MB / 1.262 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.013/3.936, allocations: 2.404 MB / 1.264 GB, free: 27.13 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0179/3.954, allocations: 2.799 MB / 1.267 GB, free: 27.12 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01026/3.965, allocations: 2.086 MB / 1.269 GB, free: 27.11 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0034/3.968, allocations: 196.7 kB / 1.269 GB, free: 27.11 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02641/3.995, allocations: 2.773 MB / 1.272 GB, free: 27.11 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.007779/4.003, allocations: 1.329 MB / 1.273 GB, free: 27.11 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.007323/4.01, allocations: 0.8002 MB / 1.274 GB, free: 27.07 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02157/4.032, allocations: 4.877 MB / 1.279 GB, free: 26.69 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/4.032, allocations: 0 / 1.279 GB, free: 26.69 MB / 1.014 GB Notification: Performance of FrontEnd: time 5.771e-06/4.032, allocations: 3.562 kB / 1.279 GB, free: 26.69 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.00047/4.032, allocations: 2.906 kB / 1.279 GB, free: 26.69 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.02567/4.058, allocations: 4.215 MB / 1.283 GB, free: 24.92 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 8.44e-05/4.058, allocations: 7.969 kB / 1.283 GB, free: 24.92 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003407/4.062, allocations: 460 kB / 1.283 GB, free: 24.86 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01344/4.075, allocations: 1.027 MB / 1.284 GB, free: 24.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/4.087, allocations: 2.088 MB / 1.286 GB, free: 24.15 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006947/4.088, allocations: 247 kB / 1.287 GB, free: 24.14 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002766/4.09, allocations: 324.8 kB / 1.287 GB, free: 24.13 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02144/4.112, allocations: 4.181 MB / 1.291 GB, free: 23.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000467/4.112, allocations: 9.719 kB / 1.291 GB, free: 23.83 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002192/4.115, allocations: 136.8 kB / 1.291 GB, free: 23.83 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006011/4.115, allocations: 171.8 kB / 1.291 GB, free: 23.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01881/4.134, allocations: 4.758 MB / 1.296 GB, free: 23.79 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.056/4.19, allocations: 14.38 MB / 1.31 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01636/4.207, allocations: 4.526 MB / 1.314 GB, free: 17.1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003798/4.211, allocations: 1.532 MB / 1.316 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/4.211, allocations: 79.39 kB / 1.316 GB, free: 15.45 MB / 1.014 GB Notification: Performance of pre-optimization done (n=392): time 3.526e-05/4.211, allocations: 0 / 1.316 GB, free: 15.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=392): time 0.02438/4.235, allocations: 5.512 MB / 1.321 GB, free: 15.16 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/4.236, allocations: 92.08 kB / 1.322 GB, free: 15.09 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004282/4.24, allocations: 1.667 MB / 1.323 GB, free: 14.87 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001438/4.241, allocations: 94.05 kB / 1.323 GB, free: 14.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001436/4.243, allocations: 1.135 MB / 1.324 GB, free: 14.42 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.003435/4.246, allocations: 1.318 MB / 1.326 GB, free: 13.55 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009105/4.247, allocations: 69.03 kB / 1.326 GB, free: 13.55 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0007103/4.248, allocations: 436.8 kB / 1.326 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004389/4.252, allocations: 1.551 MB / 1.328 GB, free: 13.24 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004735/4.257, allocations: 1.892 MB / 1.329 GB, free: 13.02 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004684/4.262, allocations: 1.83 MB / 1.331 GB, free: 12.97 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.783e-05/4.262, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01337/4.275, allocations: 4.148 MB / 1.335 GB, free: 12.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/4.275, allocations: 7.094 kB / 1.335 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.807e-05/4.275, allocations: 6.438 kB / 1.335 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.853e-05/4.276, allocations: 18.09 kB / 1.335 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006857/4.282, allocations: 0.6996 MB / 1.336 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002179/4.283, allocations: 24.66 kB / 1.336 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01011/4.293, allocations: 479.1 kB / 1.337 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001782/4.295, allocations: 115.5 kB / 1.337 GB, free: 12.52 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.006503/4.301, allocations: 0.7967 MB / 1.337 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003177/4.304, allocations: 291 kB / 1.338 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01623/4.321, allocations: 4.421 MB / 1.342 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.515e-05/4.321, allocations: 37 kB / 1.342 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.32e-05/4.321, allocations: 7.938 kB / 1.342 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007737/4.329, allocations: 3.78 MB / 1.346 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04397/4.373, allocations: 8.603 MB / 1.354 GB, free: 8.348 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.106e-05/4.373, allocations: 0 / 1.354 GB, free: 8.348 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008834/4.382, allocations: 0.7242 MB / 1.355 GB, free: 8.254 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001573/4.382, allocations: 14.66 kB / 1.355 GB, free: 8.254 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001901/4.384, allocations: 85.58 kB / 1.355 GB, free: 8.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001396/4.384, allocations: 19.33 kB / 1.355 GB, free: 8.246 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.305e-05/4.384, allocations: 2.656 kB / 1.355 GB, free: 8.246 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03188/4.416, allocations: 6.704 MB / 1.361 GB, free: 6.598 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006976/4.423, allocations: 0.7997 MB / 1.362 GB, free: 5.953 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003426/4.427, allocations: 73.12 kB / 1.362 GB, free: 5.934 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009306/4.436, allocations: 261.7 kB / 1.363 GB, free: 5.73 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002537/4.439, allocations: 238.5 kB / 1.363 GB, free: 5.523 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001964/4.441, allocations: 115.8 kB / 1.363 GB, free: 5.438 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.005939/4.447, allocations: 1.137 MB / 1.364 GB, free: 4.594 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.11e-07/4.447, allocations: 4 kB / 1.364 GB, free: 4.59 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.01237/4.459, allocations: 1.223 MB / 1.365 GB, free: 3.477 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.04203/4.501, allocations: 8.258 MB / 1.373 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01953/4.521, allocations: 3.892 MB / 1.377 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.198e-05/4.521, allocations: 6.734 kB / 1.377 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.01012/4.531, allocations: 2.136 MB / 1.379 GB, free: 9.312 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02047/4.552, allocations: 1.483 MB / 1.381 GB, free: 8.109 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05793/4.61, allocations: 14.04 MB / 1.394 GB, free: 11.12 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005934/4.616, allocations: 2.263 MB / 1.397 GB, free: 8.938 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.008445/4.625, allocations: 1.211 MB / 1.398 GB, free: 7.723 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004705/4.629, allocations: 1.382 MB / 1.399 GB, free: 7.379 MB / 1.045 GB Notification: Performance of SimCode: time 2.285e-06/4.629, allocations: 0 / 1.399 GB, free: 7.379 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2439/4.873, allocations: 83.25 MB / 1.48 GB, free: 5.117 MB / 1.123 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003463/4.874, allocations: 225.1 kB / 1.481 GB, free: 4.879 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.484/13.36, allocations: 4 kB / 1.481 GB, free: 4.875 MB / 1.123 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