Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.ReverseBuoyancy,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_9_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.008695/0.008695, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001673/0.001673, allocations: 191 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.422/2.422, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 63.89 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233/1.235, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.3643/1.599, allocations: 314.2 MB / 1.394 GB, free: 3.121 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0426/1.642, allocations: 18.45 MB / 1.412 GB, free: 0.6289 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006125/1.648, allocations: 87.56 kB / 1.412 GB, free: 0.543 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.007037/1.655, allocations: 2.246 MB / 1.415 GB, free: 14.28 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.02692/1.682, allocations: 7.53 MB / 1.422 GB, free: 6.723 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.01177/1.694, allocations: 3.267 MB / 1.425 GB, free: 3.457 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01608/1.71, allocations: 9.119 MB / 1.434 GB, free: 10.32 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006753/1.717, allocations: 3.104 MB / 1.437 GB, free: 7.152 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009218/1.726, allocations: 3.399 MB / 1.44 GB, free: 3.742 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008484/1.734, allocations: 3.228 MB / 1.444 GB, free: 0.5117 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.00192/1.736, allocations: 404 kB / 1.444 GB, free: 120 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01866/1.755, allocations: 7.03 MB / 1.451 GB, free: 9.07 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.003588/1.759, allocations: 1.691 MB / 1.452 GB, free: 7.375 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.008369/1.767, allocations: 2.299 MB / 1.455 GB, free: 5.066 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.022/1.789, allocations: 8.189 MB / 1.463 GB, free: 12.84 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/1.789, allocations: 0 / 1.463 GB, free: 12.84 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.685e-06/1.789, allocations: 0 / 1.463 GB, free: 12.84 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0003066/1.789, allocations: 0 / 1.463 GB, free: 12.84 MB / 1.201 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.01852/1.808, allocations: 4.996 MB / 1.468 GB, free: 7.777 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/1.808, allocations: 12.03 kB / 1.468 GB, free: 7.766 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001416/1.809, allocations: 459.5 kB / 1.468 GB, free: 7.305 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00789/1.817, allocations: 1.01 MB / 1.469 GB, free: 6.289 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00644/1.824, allocations: 2.248 MB / 1.471 GB, free: 3.988 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002499/1.824, allocations: 242.4 kB / 1.471 GB, free: 3.75 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001383/1.825, allocations: 327.9 kB / 1.472 GB, free: 3.43 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01154/1.837, allocations: 4.239 MB / 1.476 GB, free: 15.11 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001822/1.837, allocations: 7.938 kB / 1.476 GB, free: 15.1 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008583/1.838, allocations: 143.9 kB / 1.476 GB, free: 14.96 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000203/1.838, allocations: 162.4 kB / 1.476 GB, free: 14.8 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/1.849, allocations: 4.787 MB / 1.481 GB, free: 10 MB / 1.217 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.02819/1.877, allocations: 14.43 MB / 1.495 GB, free: 10.59 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007803/1.885, allocations: 4.551 MB / 1.499 GB, free: 6.035 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004433/1.889, allocations: 2.455 MB / 1.502 GB, free: 3.582 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00186/1.891, allocations: 1.604 MB / 1.503 GB, free: 1.645 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.505e-05/1.891, allocations: 73.64 kB / 1.503 GB, free: 1.562 MB / 1.232 GB Notification: Performance of pre-optimization done (n=392): time 7.534e-06/1.891, allocations: 0 / 1.503 GB, free: 1.562 MB / 1.232 GB Notification: Performance of matching and sorting (n=392): time 0.01246/1.904, allocations: 5.543 MB / 1.509 GB, free: 12 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/1.904, allocations: 90.48 kB / 1.509 GB, free: 11.89 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003294/1.907, allocations: 1.684 MB / 1.511 GB, free: 10.17 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0004503/1.908, allocations: 93.7 kB / 1.511 GB, free: 10.07 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001/1.909, allocations: 1.136 MB / 1.512 GB, free: 8.922 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001598/1.91, allocations: 1.316 MB / 1.513 GB, free: 7.586 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001261/1.912, allocations: 0.5508 MB / 1.514 GB, free: 7.027 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.912, allocations: 309 kB / 1.514 GB, free: 6.723 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002694/1.914, allocations: 1.56 MB / 1.515 GB, free: 5.16 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003036/1.918, allocations: 1.92 MB / 1.517 GB, free: 3.172 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006042/1.924, allocations: 3.762 MB / 1.521 GB, free: 15.32 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.213e-05/1.924, allocations: 4 kB / 1.521 GB, free: 15.32 MB / 1.264 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007716/1.931, allocations: 4.185 MB / 1.525 GB, free: 11.11 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/1.931, allocations: 4 kB / 1.525 GB, free: 11.1 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/1.931, allocations: 8 kB / 1.525 GB, free: 11.09 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.562e-05/1.931, allocations: 19.94 kB / 1.525 GB, free: 11.07 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003014/1.935, allocations: 0.6986 MB / 1.526 GB, free: 10.38 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-05/1.935, allocations: 27.94 kB / 1.526 GB, free: 10.35 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00289/1.938, allocations: 253.1 kB / 1.526 GB, free: 10.1 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003432/1.938, allocations: 116 kB / 1.526 GB, free: 9.984 MB / 1.264 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002237/1.94, allocations: 0.8015 MB / 1.527 GB, free: 9.172 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001343/1.941, allocations: 292.5 kB / 1.527 GB, free: 8.883 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008924/1.95, allocations: 4.433 MB / 1.531 GB, free: 4.414 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.273e-05/1.95, allocations: 36 kB / 1.532 GB, free: 4.379 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.481e-05/1.951, allocations: 3.938 kB / 1.532 GB, free: 4.375 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006442/1.957, allocations: 3.796 MB / 1.535 GB, free: 0.5117 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0163/1.973, allocations: 8.652 MB / 1.544 GB, free: 7.699 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/1.973, allocations: 0 / 1.544 GB, free: 7.699 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003354/1.977, allocations: 0.7182 MB / 1.544 GB, free: 6.98 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.439e-05/1.977, allocations: 16 kB / 1.544 GB, free: 6.965 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000334/1.977, allocations: 83.97 kB / 1.544 GB, free: 6.883 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.85e-05/1.977, allocations: 19.94 kB / 1.545 GB, free: 6.863 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.977, allocations: 4 kB / 1.545 GB, free: 6.859 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01039/1.988, allocations: 6.572 MB / 1.551 GB, free: 196 kB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002637/1.99, allocations: 0.7933 MB / 1.552 GB, free: 15.38 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009433/1.991, allocations: 72 kB / 1.552 GB, free: 15.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002496/1.994, allocations: 93.72 kB / 1.552 GB, free: 15.21 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004885/1.994, allocations: 234.5 kB / 1.552 GB, free: 14.98 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003109/1.995, allocations: 120 kB / 1.552 GB, free: 14.87 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002585/1.997, allocations: 1.153 MB / 1.553 GB, free: 13.69 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.8e-07/1.997, allocations: 4 kB / 1.553 GB, free: 13.69 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003508/2.001, allocations: 1.224 MB / 1.555 GB, free: 12.46 MB / 1.295 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01174/2.012, allocations: 7.48 MB / 1.562 GB, free: 4.883 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.006739/2.019, allocations: 3.947 MB / 1.566 GB, free: 0.9219 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/2.019, allocations: 0 / 1.566 GB, free: 0.9219 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003442/2.023, allocations: 2.15 MB / 1.568 GB, free: 14.77 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007944/2.031, allocations: 1.596 MB / 1.569 GB, free: 13.2 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6783/2.709, allocations: 25.7 MB / 1.594 GB, free: 437.9 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002782/2.712, allocations: 2.209 MB / 1.597 GB, free: 437 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.00477/2.717, allocations: 1.205 MB / 1.598 GB, free: 437 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002316/2.719, allocations: 1.388 MB / 1.599 GB, free: 435.9 MB / 1.311 GB Notification: Performance of SimCode: time 1.012e-06/2.719, allocations: 1.281 kB / 1.599 GB, free: 435.9 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1665/2.886, allocations: 85.56 MB / 1.683 GB, free: 395.5 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.45/18.33, allocations: 4 kB / 1.683 GB, free: 395.5 MB / 1.311 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches