Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_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.001248/0.001248, allocations: 100.2 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.001664/0.001664, 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 2.355/2.355, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.44/4.44, allocations: 409.2 MB / 0.6838 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005999/0.0006003, allocations: 12 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575/1.575, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.4837/2.059, allocations: 239.4 MB / 1.215 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.05446/2.114, allocations: 17.12 MB / 1.231 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007554/2.121, allocations: 67.56 kB / 1.231 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01123/2.133, allocations: 1.653 MB / 1.233 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.03496/2.168, allocations: 4.946 MB / 1.238 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01491/2.183, allocations: 2.191 MB / 1.24 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01798/2.201, allocations: 4.401 MB / 1.244 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008583/2.209, allocations: 1.942 MB / 1.246 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01221/2.222, allocations: 2.267 MB / 1.248 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007661/2.229, allocations: 1.721 MB / 1.25 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00229/2.232, allocations: 156 kB / 1.25 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.838/4.07, allocations: 2.422 MB / 1.253 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.005604/4.075, allocations: 1.053 MB / 1.254 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005769/4.081, allocations: 0.6613 MB / 1.254 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02157/4.103, allocations: 4.077 MB / 1.258 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/4.103, allocations: 1.406 kB / 1.258 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of FrontEnd: time 5.51e-06/4.103, allocations: 1.406 kB / 1.258 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004656/4.103, allocations: 0 / 1.258 GB, free: 13.62 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: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.02936/4.133, allocations: 3.461 MB / 1.262 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001111/4.133, allocations: 8.906 kB / 1.262 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004017/4.137, allocations: 372.6 kB / 1.262 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0161/4.153, allocations: 0.9356 MB / 1.263 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01523/4.168, allocations: 1.775 MB / 1.265 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001151/4.17, allocations: 193.4 kB / 1.265 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003475/4.173, allocations: 258.5 kB / 1.265 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02212/4.195, allocations: 3.296 MB / 1.268 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002178/4.196, allocations: 6.656 kB / 1.268 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001206/4.197, allocations: 110.2 kB / 1.268 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003807/4.197, allocations: 139 kB / 1.269 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01703/4.214, allocations: 3.481 MB / 1.272 GB, free: 11.06 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.0465/4.261, allocations: 12.11 MB / 1.284 GB, free: 21.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/4.272, allocations: 3.482 MB / 1.287 GB, free: 20.46 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002985/4.275, allocations: 1.498 MB / 1.289 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/4.275, allocations: 63.72 kB / 1.289 GB, free: 18.82 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 7.785e-06/4.275, allocations: 0 / 1.289 GB, free: 18.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.01629/4.291, allocations: 3.863 MB / 1.292 GB, free: 18.56 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/4.292, allocations: 81.38 kB / 1.293 GB, free: 18.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004821/4.297, allocations: 1.364 MB / 1.294 GB, free: 18.33 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001242/4.298, allocations: 75.86 kB / 1.294 GB, free: 18.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001461/4.299, allocations: 0.9873 MB / 1.295 GB, free: 17.91 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002927/4.302, allocations: 0.944 MB / 1.296 GB, free: 17.29 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003486/4.303, allocations: 50.12 kB / 1.296 GB, free: 17.29 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0006/4.303, allocations: 398.9 kB / 1.296 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003664/4.307, allocations: 1.084 MB / 1.297 GB, free: 16.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004149/4.311, allocations: 1.333 MB / 1.299 GB, free: 16.79 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004262/4.315, allocations: 1.277 MB / 1.3 GB, free: 16.74 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.652e-05/4.315, allocations: 0 / 1.3 GB, free: 16.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01105/4.327, allocations: 2.95 MB / 1.303 GB, free: 16.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.963e-05/4.327, allocations: 9.156 kB / 1.303 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.954e-05/4.327, allocations: 4.828 kB / 1.303 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.567e-05/4.327, allocations: 16.72 kB / 1.303 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004498/4.331, allocations: 0.5118 MB / 1.303 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001035/4.331, allocations: 17.98 kB / 1.303 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007421/4.339, allocations: 380.4 kB / 1.304 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001309/4.34, allocations: 84.95 kB / 1.304 GB, free: 16.37 MB / 1.014 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.005911/4.346, allocations: 0.6551 MB / 1.304 GB, free: 16.25 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002812/4.349, allocations: 228.9 kB / 1.305 GB, free: 16.14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01281/4.362, allocations: 3.094 MB / 1.308 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.406e-05/4.362, allocations: 24.66 kB / 1.308 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.852e-05/4.362, allocations: 2.406 kB / 1.308 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01061/4.373, allocations: 2.644 MB / 1.31 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03619/4.409, allocations: 6.195 MB / 1.316 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.55e-05/4.409, allocations: 0 / 1.316 GB, free: 15.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005777/4.415, allocations: 0.5367 MB / 1.317 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.229e-05/4.415, allocations: 8.812 kB / 1.317 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009504/4.416, allocations: 60.97 kB / 1.317 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-05/4.416, allocations: 11 kB / 1.317 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/4.416, allocations: 0 / 1.317 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01643/4.433, allocations: 4.537 MB / 1.321 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004992/4.438, allocations: 0.6174 MB / 1.322 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002144/4.44, allocations: 54.41 kB / 1.322 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006518/4.447, allocations: 221.3 kB / 1.322 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001005/4.448, allocations: 159.7 kB / 1.322 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004051/4.448, allocations: 82.48 kB / 1.322 GB, free: 14.49 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003276/4.452, allocations: 0.9318 MB / 1.323 GB, free: 14.38 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.186e-06/4.452, allocations: 0 / 1.323 GB, free: 14.38 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.008456/4.46, allocations: 0.9815 MB / 1.324 GB, free: 14.27 MB / 1.014 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.01793/4.478, allocations: 5.357 MB / 1.33 GB, free: 13.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01078/4.489, allocations: 2.735 MB / 1.332 GB, free: 13.23 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-05/4.489, allocations: 3.219 kB / 1.332 GB, free: 13.23 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.005399/4.495, allocations: 1.495 MB / 1.334 GB, free: 13.21 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01347/4.508, allocations: 1.247 MB / 1.335 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03669/4.545, allocations: 11.76 MB / 1.346 GB, free: 5.832 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00313/4.548, allocations: 1.948 MB / 1.348 GB, free: 5.051 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.007473/4.556, allocations: 0.8508 MB / 1.349 GB, free: 4.883 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004225/4.56, allocations: 1.093 MB / 1.35 GB, free: 4.875 MB / 1.014 GB Notification: Performance of SimCode: time 2.836e-06/4.56, allocations: 0 / 1.35 GB, free: 4.875 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2262/4.786, allocations: 66.54 MB / 1.415 GB, free: 12.38 MB / 1.076 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003331/4.787, allocations: 189.7 kB / 1.415 GB, free: 12.15 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.76/11.55, allocations: 4.062 kB / 1.415 GB, free: 12.14 MB / 1.076 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat does not exist to compare? outputFormat=mat