Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.001266/0.001266, allocations: 99.7 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.001724/0.001724, 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 1.325/1.325, 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 9.1.1-maint.9.1.x/package.mo): time 2.39/2.39, allocations: 390.3 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003304, allocations: 15.98 kB / 0.8146 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7208/0.7212, allocations: 142.3 MB / 0.9536 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.2958/1.017, allocations: 239.4 MB / 1.187 GB, free: 172 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02689/1.044, allocations: 17.14 MB / 1.204 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00307/1.047, allocations: 63.56 kB / 1.204 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005067/1.052, allocations: 1.653 MB / 1.206 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01445/1.067, allocations: 4.946 MB / 1.211 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00648/1.073, allocations: 2.191 MB / 1.213 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.008207/1.081, allocations: 4.404 MB / 1.217 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003887/1.085, allocations: 1.942 MB / 1.219 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005304/1.091, allocations: 2.263 MB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003507/1.094, allocations: 1.721 MB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0009603/1.095, allocations: 156 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008227/1.103, allocations: 2.434 MB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002923/1.106, allocations: 1.04 MB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002351/1.109, allocations: 0.6681 MB / 1.227 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007468/1.116, allocations: 4.068 MB / 1.231 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/1.116, allocations: 8 kB / 1.231 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.873e-06/1.116, allocations: 0 / 1.231 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002093/1.116, allocations: 0 / 1.231 GB, free: 3.359 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01018/1.127, allocations: 3.463 MB / 1.234 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/1.127, allocations: 11.97 kB / 1.234 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00096/1.128, allocations: 371 kB / 1.235 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006727/1.134, allocations: 0.9289 MB / 1.236 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004587/1.139, allocations: 1.777 MB / 1.237 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/1.139, allocations: 197.1 kB / 1.238 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008429/1.14, allocations: 260 kB / 1.238 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00785/1.148, allocations: 3.295 MB / 1.241 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/1.148, allocations: 3.938 kB / 1.241 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004898/1.149, allocations: 112 kB / 1.241 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001965/1.149, allocations: 137 kB / 1.241 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007006/1.156, allocations: 3.482 MB / 1.245 GB, free: 5.094 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.6885/1.844, allocations: 12.1 MB / 1.257 GB, free: 276 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005928/1.85, allocations: 3.484 MB / 1.26 GB, free: 274.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001493/1.852, allocations: 1.499 MB / 1.261 GB, free: 272.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.78e-05/1.852, allocations: 76.44 kB / 1.261 GB, free: 272.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=278): time 4.719e-06/1.852, allocations: 0 / 1.261 GB, free: 272.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=278): time 0.01051/1.863, allocations: 3.855 MB / 1.265 GB, free: 271 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.659e-05/1.863, allocations: 85.16 kB / 1.265 GB, free: 270.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002597/1.865, allocations: 1.367 MB / 1.267 GB, free: 270.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005702/1.866, allocations: 72.36 kB / 1.267 GB, free: 270.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007385/1.867, allocations: 0.9893 MB / 1.268 GB, free: 269.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001147/1.868, allocations: 0.9462 MB / 1.269 GB, free: 268.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/1.868, allocations: 50.45 kB / 1.269 GB, free: 268.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.868, allocations: 398.2 kB / 1.269 GB, free: 268.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/1.87, allocations: 1.084 MB / 1.27 GB, free: 268.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002451/1.872, allocations: 1.333 MB / 1.271 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002554/1.875, allocations: 1.276 MB / 1.273 GB, free: 266.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.495e-05/1.875, allocations: 5.375 kB / 1.273 GB, free: 266.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00569/1.881, allocations: 2.949 MB / 1.276 GB, free: 265.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/1.881, allocations: 14.83 kB / 1.276 GB, free: 265.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/1.881, allocations: 4.438 kB / 1.276 GB, free: 265.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.107e-05/1.881, allocations: 16.34 kB / 1.276 GB, free: 265.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002292/1.883, allocations: 0.5037 MB / 1.276 GB, free: 265 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.004e-05/1.883, allocations: 18.8 kB / 1.276 GB, free: 265 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003393/1.887, allocations: 380.8 kB / 1.276 GB, free: 264.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/1.887, allocations: 82.61 kB / 1.276 GB, free: 264.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.001506/1.888, allocations: 0.6442 MB / 1.277 GB, free: 264.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006911/1.889, allocations: 233.1 kB / 1.277 GB, free: 264.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0055/1.895, allocations: 3.1 MB / 1.28 GB, free: 262.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.33e-05/1.895, allocations: 30.59 kB / 1.28 GB, free: 262.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/1.895, allocations: 0.5 kB / 1.28 GB, free: 262.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003672/1.898, allocations: 2.637 MB / 1.283 GB, free: 261 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00954/1.908, allocations: 6.19 MB / 1.289 GB, free: 257.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/1.908, allocations: 4 kB / 1.289 GB, free: 257.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002393/1.91, allocations: 0.5431 MB / 1.29 GB, free: 257.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.682e-05/1.91, allocations: 11.75 kB / 1.29 GB, free: 257.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/1.911, allocations: 63.23 kB / 1.29 GB, free: 257.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.096e-05/1.911, allocations: 7.781 kB / 1.29 GB, free: 257.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.911, allocations: 0 / 1.29 GB, free: 257.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005825/1.916, allocations: 4.537 MB / 1.294 GB, free: 254.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/1.918, allocations: 0.6053 MB / 1.295 GB, free: 254.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003332/1.918, allocations: 50.67 kB / 1.295 GB, free: 254.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001911/1.92, allocations: 226 kB / 1.295 GB, free: 254.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/1.92, allocations: 161.3 kB / 1.295 GB, free: 254.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/1.921, allocations: 82.44 kB / 1.295 GB, free: 254.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001091/1.922, allocations: 0.9308 MB / 1.296 GB, free: 253.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.922, allocations: 0 / 1.296 GB, free: 253.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001979/1.924, allocations: 0.9823 MB / 1.297 GB, free: 253 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (278): * Single equations (assignments): 278 * 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.006055/1.93, allocations: 5.36 MB / 1.302 GB, free: 247.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003684/1.933, allocations: 2.735 MB / 1.305 GB, free: 244.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.933, allocations: 4 kB / 1.305 GB, free: 244.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001702/1.935, allocations: 1.492 MB / 1.306 GB, free: 243.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005494/1.941, allocations: 1.256 MB / 1.308 GB, free: 242.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/1.952, allocations: 11.77 MB / 1.319 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/1.953, allocations: 1.945 MB / 1.321 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002938/1.956, allocations: 0.8436 MB / 1.322 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001314/1.957, allocations: 1.089 MB / 1.323 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of SimCode: time 7.71e-07/1.957, allocations: 0 / 1.323 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08678/2.044, allocations: 66.54 MB / 1.388 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001371/2.044, allocations: 189.1 kB / 1.388 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.937/5.981, allocations: 0 / 1.388 GB, free: 160.2 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat does not exist to compare? outputFormat=mat