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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008059/0.008059, allocations: 101.4 kB / 15.88 MB, free: 5.867 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.001709/0.001709, allocations: 192.1 kB / 16.79 MB, free: 5.809 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.494/1.494, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.941/2.941, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.25 kB / 0.899 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3964, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.256/1.652, allocations: 312 MB / 1.357 GB, free: 292 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03447/1.687, allocations: 18.67 MB / 1.376 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007849/1.695, allocations: 76.59 kB / 1.376 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00772/1.702, allocations: 1.883 MB / 1.378 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.02611/1.728, allocations: 6.911 MB / 1.384 GB, free: 14.77 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0137/1.742, allocations: 2.922 MB / 1.387 GB, free: 13.74 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0232/1.765, allocations: 13.13 MB / 1.4 GB, free: 7.785 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008826/1.774, allocations: 2.651 MB / 1.403 GB, free: 6.199 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009737/1.784, allocations: 2.89 MB / 1.405 GB, free: 4.879 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009411/1.794, allocations: 3.363 MB / 1.409 GB, free: 3.266 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002094/1.796, allocations: 227.5 kB / 1.409 GB, free: 3.266 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02163/1.817, allocations: 8.13 MB / 1.417 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00404/1.821, allocations: 1.524 MB / 1.418 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.007554/1.829, allocations: 2.121 MB / 1.42 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01465/1.844, allocations: 5.999 MB / 1.426 GB, free: 5.973 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/1.844, allocations: 0 / 1.426 GB, free: 5.973 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.687e-06/1.844, allocations: 0 / 1.426 GB, free: 5.973 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0003755/1.844, allocations: 0 / 1.426 GB, free: 5.973 MB / 1.029 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.02138/1.866, allocations: 4.997 MB / 1.431 GB, free: 0.9414 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.681e-05/1.866, allocations: 11.97 kB / 1.431 GB, free: 0.9297 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008847/1.875, allocations: 1.005 MB / 1.432 GB, free: 15.92 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007365/1.882, allocations: 2.161 MB / 1.434 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002795/1.882, allocations: 242.2 kB / 1.434 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001328/1.884, allocations: 334.6 kB / 1.435 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01188/1.895, allocations: 4.236 MB / 1.439 GB, free: 8.883 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000153/1.896, allocations: 7.891 kB / 1.439 GB, free: 8.875 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008775/1.897, allocations: 139.2 kB / 1.439 GB, free: 8.742 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002098/1.897, allocations: 170.3 kB / 1.439 GB, free: 8.574 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/1.907, allocations: 4.776 MB / 1.444 GB, free: 3.789 MB / 1.045 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.02779/1.935, allocations: 14.37 MB / 1.458 GB, free: 4.605 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007986/1.943, allocations: 4.542 MB / 1.462 GB, free: 52 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004487/1.948, allocations: 2.448 MB / 1.465 GB, free: 13.6 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002008/1.95, allocations: 1.609 MB / 1.466 GB, free: 11.67 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.79e-05/1.95, allocations: 73.64 kB / 1.466 GB, free: 11.59 MB / 1.076 GB Notification: Performance of pre-optimization done (n=392): time 6.331e-06/1.95, allocations: 0 / 1.466 GB, free: 11.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=392): time 0.01253/1.962, allocations: 5.539 MB / 1.472 GB, free: 6.023 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.962, allocations: 98.42 kB / 1.472 GB, free: 5.914 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003925/1.966, allocations: 1.686 MB / 1.474 GB, free: 4.188 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0005801/1.967, allocations: 89.7 kB / 1.474 GB, free: 4.094 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001147/1.968, allocations: 1.134 MB / 1.475 GB, free: 2.949 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.002339/1.971, allocations: 1.319 MB / 1.476 GB, free: 1.641 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001707/1.972, allocations: 0.5507 MB / 1.477 GB, free: 1.082 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.972, allocations: 309.1 kB / 1.477 GB, free: 0.7773 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003213/1.976, allocations: 1.564 MB / 1.478 GB, free: 15.21 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003704/1.979, allocations: 1.912 MB / 1.48 GB, free: 13.23 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007172/1.987, allocations: 3.77 MB / 1.484 GB, free: 9.375 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.779e-05/1.987, allocations: 0 / 1.484 GB, free: 9.375 MB / 1.092 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009923/1.997, allocations: 4.178 MB / 1.488 GB, free: 5.172 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.353e-05/1.997, allocations: 11.94 kB / 1.488 GB, free: 5.16 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-05/1.997, allocations: 4 kB / 1.488 GB, free: 5.156 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.952e-05/1.997, allocations: 20 kB / 1.488 GB, free: 5.137 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003745/2.001, allocations: 0.6905 MB / 1.489 GB, free: 4.445 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000111/2.001, allocations: 27.92 kB / 1.489 GB, free: 4.418 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00506/2.006, allocations: 481.1 kB / 1.489 GB, free: 3.945 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006514/2.007, allocations: 112 kB / 1.489 GB, free: 3.836 MB / 1.092 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.002572/2.009, allocations: 0.7976 MB / 1.49 GB, free: 3.027 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/2.01, allocations: 296.5 kB / 1.49 GB, free: 2.734 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009219/2.02, allocations: 4.436 MB / 1.495 GB, free: 14.27 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.127e-05/2.02, allocations: 40 kB / 1.495 GB, free: 14.23 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-05/2.02, allocations: 0 / 1.495 GB, free: 14.23 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006483/2.026, allocations: 3.792 MB / 1.498 GB, free: 10.37 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01837/2.045, allocations: 8.643 MB / 1.507 GB, free: 1.66 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.226e-05/2.045, allocations: 7.984 kB / 1.507 GB, free: 1.652 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003635/2.048, allocations: 0.7255 MB / 1.508 GB, free: 0.9258 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.876e-05/2.049, allocations: 16 kB / 1.508 GB, free: 0.9102 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004577/2.049, allocations: 96.12 kB / 1.508 GB, free: 0.8164 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.36e-05/2.049, allocations: 19.94 kB / 1.508 GB, free: 0.7969 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/2.049, allocations: 3.938 kB / 1.508 GB, free: 0.793 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/2.061, allocations: 6.558 MB / 1.514 GB, free: 10.14 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002782/2.064, allocations: 0.801 MB / 1.515 GB, free: 9.316 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001053/2.065, allocations: 68 kB / 1.515 GB, free: 9.25 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003698/2.068, allocations: 274.2 kB / 1.515 GB, free: 8.984 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005878/2.069, allocations: 226.7 kB / 1.515 GB, free: 8.762 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003633/2.069, allocations: 120 kB / 1.516 GB, free: 8.645 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002548/2.072, allocations: 1.153 MB / 1.517 GB, free: 7.469 MB / 1.123 GB Notification: Performance of sort global known variables: time 4.01e-07/2.072, allocations: 4 kB / 1.517 GB, free: 7.465 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00444/2.076, allocations: 1.228 MB / 1.518 GB, free: 6.234 MB / 1.123 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.001353/2.078, allocations: 465.5 kB / 1.518 GB, free: 5.793 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.007534/2.085, allocations: 3.928 MB / 1.522 GB, free: 1.852 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/2.085, allocations: 0 / 1.522 GB, free: 1.852 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.003908/2.089, allocations: 2.152 MB / 1.524 GB, free: 15.7 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00978/2.099, allocations: 1.523 MB / 1.526 GB, free: 14.19 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01833/2.117, allocations: 9.35 MB / 1.535 GB, free: 4.777 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00319/2.121, allocations: 2.209 MB / 1.537 GB, free: 2.531 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00232/2.123, allocations: 311.4 kB / 1.537 GB, free: 2.227 MB / 1.139 GB Notification: Performance of SimCode: time 1.042e-06/2.123, allocations: 0 / 1.537 GB, free: 2.227 MB / 1.139 GB Notification: Performance of Templates: time 0.0985/2.222, allocations: 54.4 MB / 1.591 GB, free: 12.07 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (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 & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches