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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001255/0.001255, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 197.9 kB / 16.53 MB, free: 6.672 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.523/1.523, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.09/3.09, allocations: 472.7 MB / 0.7452 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001275, allocations: 66.48 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4236, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.348/1.771, allocations: 314.2 MB / 1.375 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03773/1.809, allocations: 18.44 MB / 1.393 GB, free: 5.523 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00905/1.818, allocations: 86.94 kB / 1.393 GB, free: 5.523 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01084/1.829, allocations: 2.157 MB / 1.395 GB, free: 4.883 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.03103/1.86, allocations: 7.302 MB / 1.402 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01158/1.872, allocations: 3.205 MB / 1.405 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01497/1.887, allocations: 9.118 MB / 1.414 GB, free: 9.219 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007212/1.894, allocations: 3.107 MB / 1.417 GB, free: 7.297 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009523/1.904, allocations: 3.301 MB / 1.421 GB, free: 5.504 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009104/1.913, allocations: 3.233 MB / 1.424 GB, free: 3.605 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002603/1.915, allocations: 400.7 kB / 1.424 GB, free: 3.605 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02166/1.937, allocations: 7 MB / 1.431 GB, free: 15.23 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004329/1.942, allocations: 1.687 MB / 1.433 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.008189/1.95, allocations: 2.299 MB / 1.435 GB, free: 11.23 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.02258/1.972, allocations: 8.134 MB / 1.443 GB, free: 3.074 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/1.973, allocations: 3.938 kB / 1.443 GB, free: 3.07 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.134e-06/1.973, allocations: 0 / 1.443 GB, free: 3.07 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002283/1.973, allocations: 0 / 1.443 GB, free: 3.07 MB / 1.045 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.01627/1.989, allocations: 4.997 MB / 1.448 GB, free: 14 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/1.989, allocations: 8.031 kB / 1.448 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007709/1.997, allocations: 1.01 MB / 1.449 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00671/2.004, allocations: 2.17 MB / 1.451 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003134/2.004, allocations: 246.4 kB / 1.451 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/2.005, allocations: 320 kB / 1.451 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009383/2.014, allocations: 4.239 MB / 1.456 GB, free: 5.879 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-05/2.015, allocations: 3.938 kB / 1.456 GB, free: 5.875 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003481/2.015, allocations: 139.9 kB / 1.456 GB, free: 5.738 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001966/2.015, allocations: 166.4 kB / 1.456 GB, free: 5.574 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008996/2.024, allocations: 4.783 MB / 1.46 GB, free: 0.7812 MB / 1.061 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.02664/2.051, allocations: 14.53 MB / 1.475 GB, free: 1.277 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006788/2.058, allocations: 4.546 MB / 1.479 GB, free: 12.74 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003822/2.062, allocations: 2.448 MB / 1.482 GB, free: 10.28 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001776/2.063, allocations: 1.612 MB / 1.483 GB, free: 8.336 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.768e-05/2.063, allocations: 81.58 kB / 1.483 GB, free: 8.246 MB / 1.092 GB Notification: Performance of pre-optimization done (n=392): time 5.15e-06/2.063, allocations: 0 / 1.483 GB, free: 8.246 MB / 1.092 GB Notification: Performance of matching and sorting (n=392): time 0.009973/2.073, allocations: 5.539 MB / 1.489 GB, free: 2.684 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/2.074, allocations: 90.48 kB / 1.489 GB, free: 2.582 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003107/2.077, allocations: 1.69 MB / 1.49 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0005311/2.077, allocations: 93.7 kB / 1.49 GB, free: 0.7539 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001067/2.078, allocations: 1.136 MB / 1.491 GB, free: 15.6 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001673/2.08, allocations: 1.313 MB / 1.493 GB, free: 14.27 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000875/2.081, allocations: 0.5507 MB / 1.493 GB, free: 13.71 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 9.963e-05/2.081, allocations: 309.1 kB / 1.494 GB, free: 13.41 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002535/2.083, allocations: 1.564 MB / 1.495 GB, free: 11.84 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002783/2.086, allocations: 1.92 MB / 1.497 GB, free: 9.855 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005696/2.092, allocations: 3.766 MB / 1.501 GB, free: 6.004 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/2.092, allocations: 0 / 1.501 GB, free: 6.004 MB / 1.107 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007485/2.1, allocations: 4.174 MB / 1.505 GB, free: 1.805 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.562e-05/2.1, allocations: 8 kB / 1.505 GB, free: 1.797 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/2.1, allocations: 4 kB / 1.505 GB, free: 1.793 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.876e-05/2.1, allocations: 20 kB / 1.505 GB, free: 1.773 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003095/2.103, allocations: 0.6982 MB / 1.505 GB, free: 1.074 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.281e-05/2.103, allocations: 20 kB / 1.506 GB, free: 1.055 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003388/2.106, allocations: 265.2 kB / 1.506 GB, free: 0.793 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003244/2.107, allocations: 112 kB / 1.506 GB, free: 0.6836 MB / 1.107 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.001899/2.108, allocations: 0.8038 MB / 1.507 GB, free: 15.87 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/2.11, allocations: 288.5 kB / 1.507 GB, free: 15.58 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007859/2.117, allocations: 4.433 MB / 1.511 GB, free: 11.11 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.005e-05/2.118, allocations: 43.94 kB / 1.511 GB, free: 11.07 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/2.118, allocations: 0 / 1.511 GB, free: 11.07 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005733/2.123, allocations: 3.792 MB / 1.515 GB, free: 7.207 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/2.138, allocations: 8.649 MB / 1.523 GB, free: 14.4 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/2.138, allocations: 4 kB / 1.523 GB, free: 14.4 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003263/2.142, allocations: 0.714 MB / 1.524 GB, free: 13.68 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.425e-05/2.142, allocations: 16 kB / 1.524 GB, free: 13.67 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002426/2.142, allocations: 92.06 kB / 1.524 GB, free: 13.58 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.082e-05/2.142, allocations: 19.94 kB / 1.524 GB, free: 13.56 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/2.142, allocations: 7.938 kB / 1.524 GB, free: 13.55 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/2.152, allocations: 6.558 MB / 1.531 GB, free: 6.895 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002151/2.154, allocations: 0.8049 MB / 1.531 GB, free: 6.066 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006356/2.155, allocations: 72 kB / 1.532 GB, free: 5.996 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002127/2.157, allocations: 85.47 kB / 1.532 GB, free: 5.914 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004582/2.157, allocations: 238.5 kB / 1.532 GB, free: 5.68 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002193/2.158, allocations: 112 kB / 1.532 GB, free: 5.57 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001694/2.159, allocations: 1.153 MB / 1.533 GB, free: 4.395 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.6e-07/2.159, allocations: 3.938 kB / 1.533 GB, free: 4.391 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003346/2.163, allocations: 1.228 MB / 1.534 GB, free: 3.16 MB / 1.139 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.001035/2.164, allocations: 477.9 kB / 1.535 GB, free: 2.691 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.02628/2.19, allocations: 9.83 MB / 1.544 GB, free: 8.848 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.819e-05/2.19, allocations: 1.312 kB / 1.544 GB, free: 8.848 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.006074/2.196, allocations: 2.149 MB / 1.546 GB, free: 6.699 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01204/2.208, allocations: 1.605 MB / 1.548 GB, free: 5.129 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02076/2.229, allocations: 7.754 MB / 1.556 GB, free: 13.3 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003571/2.233, allocations: 2.201 MB / 1.558 GB, free: 11.07 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.006364/2.239, allocations: 1.204 MB / 1.559 GB, free: 9.855 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001934/2.241, allocations: 275.3 kB / 1.559 GB, free: 9.586 MB / 1.17 GB Notification: Performance of SimCode: time 8.92e-07/2.241, allocations: 0 / 1.559 GB, free: 9.586 MB / 1.17 GB Notification: Performance of Templates: time 0.1102/2.351, allocations: 61.93 MB / 1.62 GB, free: 12.33 MB / 1.232 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches