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.001022/0.001022, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001261/0.001261, allocations: 168.7 kB / 15.95 MB, free: 200 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.355/1.355, allocations: 223.3 MB / 240 MB, free: 5.336 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.376/2.376, allocations: 390.4 MB / 0.6655 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000447/0.0004472, allocations: 8 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7068/0.7073, allocations: 142.3 MB / 0.9538 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.2816/0.9889, allocations: 269.6 MB / 1.217 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02575/1.015, allocations: 15.99 MB / 1.233 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002991/1.018, allocations: 67.56 kB / 1.233 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003991/1.022, allocations: 1.235 MB / 1.234 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01358/1.035, allocations: 4.68 MB / 1.239 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006961/1.042, allocations: 2.027 MB / 1.241 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01239/1.055, allocations: 9.359 MB / 1.25 GB, free: 424 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6127/1.667, allocations: 1.924 MB / 1.252 GB, free: 16.43 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00745/1.675, allocations: 2.395 MB / 1.254 GB, free: 16.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007293/1.682, allocations: 2.617 MB / 1.256 GB, free: 16.42 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001441/1.684, allocations: 156.3 kB / 1.257 GB, free: 16.42 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0112/1.695, allocations: 3.051 MB / 1.26 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002917/1.698, allocations: 1.156 MB / 1.261 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002284/1.7, allocations: 0.6675 MB / 1.261 GB, free: 16.38 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008203/1.708, allocations: 4.522 MB / 1.266 GB, free: 16.17 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.708, allocations: 1.188 kB / 1.266 GB, free: 16.17 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.903e-06/1.708, allocations: 0 / 1.266 GB, free: 16.17 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001567/1.709, allocations: 0 / 1.266 GB, free: 16.17 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.01399/1.723, allocations: 3.587 MB / 1.269 GB, free: 30.58 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/1.723, allocations: 9.781 kB / 1.269 GB, free: 30.58 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001614/1.724, allocations: 372.1 kB / 1.27 GB, free: 30.53 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007615/1.732, allocations: 0.9136 MB / 1.271 GB, free: 30.35 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005899/1.738, allocations: 1.78 MB / 1.272 GB, free: 29.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002892/1.738, allocations: 195.4 kB / 1.272 GB, free: 29.88 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001361/1.74, allocations: 258.6 kB / 1.273 GB, free: 29.88 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009816/1.749, allocations: 3.321 MB / 1.276 GB, free: 29.59 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.341e-05/1.75, allocations: 10.47 kB / 1.276 GB, free: 29.58 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002785/1.75, allocations: 104.6 kB / 1.276 GB, free: 29.58 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001336/1.75, allocations: 136.8 kB / 1.276 GB, free: 29.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005773/1.756, allocations: 3.478 MB / 1.28 GB, free: 29.54 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.01748/1.773, allocations: 12.1 MB / 1.291 GB, free: 23.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004415/1.778, allocations: 3.49 MB / 1.295 GB, free: 22.92 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002576/1.78, allocations: 1.793 MB / 1.297 GB, free: 22.89 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001577/1.782, allocations: 1.506 MB / 1.298 GB, free: 21.28 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.265e-05/1.782, allocations: 63.91 kB / 1.298 GB, free: 21.23 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 4.418e-06/1.782, allocations: 0 / 1.298 GB, free: 21.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.006394/1.788, allocations: 3.87 MB / 1.302 GB, free: 20.98 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/1.788, allocations: 79.72 kB / 1.302 GB, free: 20.92 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/1.79, allocations: 1.37 MB / 1.303 GB, free: 20.75 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002007/1.79, allocations: 74.2 kB / 1.303 GB, free: 20.72 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005121/1.791, allocations: 0.9842 MB / 1.304 GB, free: 20.33 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000678/1.792, allocations: 0.9419 MB / 1.305 GB, free: 19.71 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/1.792, allocations: 51.19 kB / 1.305 GB, free: 19.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001746/1.792, allocations: 407.4 kB / 1.306 GB, free: 19.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/1.793, allocations: 1.084 MB / 1.307 GB, free: 19.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/1.795, allocations: 1.347 MB / 1.308 GB, free: 19.21 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/1.797, allocations: 1.284 MB / 1.309 GB, free: 19.16 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/1.797, allocations: 0 / 1.309 GB, free: 19.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004615/1.802, allocations: 2.953 MB / 1.312 GB, free: 18.93 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/1.802, allocations: 12.33 kB / 1.312 GB, free: 18.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/1.802, allocations: 6.594 kB / 1.312 GB, free: 18.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/1.802, allocations: 14.75 kB / 1.312 GB, free: 18.92 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/1.804, allocations: 0.5081 MB / 1.313 GB, free: 18.92 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.934e-05/1.804, allocations: 15.09 kB / 1.313 GB, free: 18.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003232/1.807, allocations: 389.8 kB / 1.313 GB, free: 18.79 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/1.807, allocations: 81.25 kB / 1.313 GB, free: 18.79 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.001705/1.809, allocations: 0.6451 MB / 1.314 GB, free: 18.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000724/1.81, allocations: 233 kB / 1.314 GB, free: 18.56 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004938/1.815, allocations: 3.105 MB / 1.317 GB, free: 18.37 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/1.815, allocations: 26.56 kB / 1.317 GB, free: 18.37 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.815, allocations: 3.312 kB / 1.317 GB, free: 18.37 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00335/1.818, allocations: 2.645 MB / 1.32 GB, free: 18.12 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009819/1.828, allocations: 6.204 MB / 1.326 GB, free: 17.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/1.828, allocations: 4 kB / 1.326 GB, free: 17.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002364/1.83, allocations: 0.5481 MB / 1.326 GB, free: 17.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.949e-05/1.83, allocations: 10 kB / 1.326 GB, free: 17.59 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001707/1.83, allocations: 62.42 kB / 1.326 GB, free: 17.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.191e-05/1.83, allocations: 10.34 kB / 1.326 GB, free: 17.59 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.83, allocations: 4 kB / 1.326 GB, free: 17.59 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006651/1.837, allocations: 4.547 MB / 1.331 GB, free: 17.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001911/1.839, allocations: 0.6085 MB / 1.331 GB, free: 16.95 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006071/1.84, allocations: 57.22 kB / 1.331 GB, free: 16.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002508/1.842, allocations: 224 kB / 1.332 GB, free: 16.92 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/1.843, allocations: 168 kB / 1.332 GB, free: 16.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001692/1.843, allocations: 81.42 kB / 1.332 GB, free: 16.91 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001389/1.844, allocations: 0.9333 MB / 1.333 GB, free: 16.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.5e-07/1.844, allocations: 0 / 1.333 GB, free: 16.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003035/1.847, allocations: 0.9809 MB / 1.334 GB, free: 16.69 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.006811/1.854, allocations: 5.384 MB / 1.339 GB, free: 15.72 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00407/1.858, allocations: 2.747 MB / 1.342 GB, free: 15.64 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.858, allocations: 0 / 1.342 GB, free: 15.64 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001875/1.86, allocations: 1.504 MB / 1.343 GB, free: 15.62 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006072/1.866, allocations: 1.288 MB / 1.344 GB, free: 15.53 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03179/1.898, allocations: 17.49 MB / 1.362 GB, free: 8.969 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001671/1.9, allocations: 1.892 MB / 1.363 GB, free: 7.832 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003599/1.903, allocations: 0.8441 MB / 1.364 GB, free: 7.457 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/1.905, allocations: 1.092 MB / 1.365 GB, free: 7.367 MB / 1.014 GB Notification: Performance of SimCode: time 1.092e-06/1.905, allocations: 2.906 kB / 1.365 GB, free: 7.367 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/2.024, allocations: 67.75 MB / 1.431 GB, free: 5.219 MB / 1.076 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/2.024, allocations: 202.6 kB / 1.432 GB, free: 4.973 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.616/5.641, allocations: 0 / 1.432 GB, free: 4.973 MB / 1.076 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