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.0009468/0.0009467, allocations: 92.47 kB / 16.02 MB, free: 80 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.001135/0.001135, allocations: 176.8 kB / 16.92 MB, free: 6.652 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.495/1.495, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.967/2.967, allocations: 462.7 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004184/0.0004186, allocations: 8.125 kB / 0.9034 GB, free: 36.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3971, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.207/1.604, allocations: 307.7 MB / 1.36 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02868/1.633, allocations: 18.49 MB / 1.378 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005667/1.638, allocations: 78.91 kB / 1.378 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00653/1.645, allocations: 1.872 MB / 1.38 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02121/1.666, allocations: 6.902 MB / 1.387 GB, free: 336 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009896/1.676, allocations: 2.939 MB / 1.389 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01751/1.694, allocations: 13.13 MB / 1.402 GB, free: 9.352 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004765/1.698, allocations: 2.578 MB / 1.405 GB, free: 7.836 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006887/1.705, allocations: 2.807 MB / 1.407 GB, free: 6.562 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007267/1.713, allocations: 3.275 MB / 1.411 GB, free: 5.02 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005696/1.713, allocations: 197.1 kB / 1.411 GB, free: 5.02 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01779/1.731, allocations: 8.099 MB / 1.419 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002594/1.734, allocations: 1.47 MB / 1.42 GB, free: 352 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005944/1.74, allocations: 2.08 MB / 1.422 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01193/1.752, allocations: 5.913 MB / 1.428 GB, free: 10.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.752, allocations: 0 / 1.428 GB, free: 10.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.823e-06/1.752, allocations: 4 kB / 1.428 GB, free: 10.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002643/1.752, allocations: 0 / 1.428 GB, free: 10.2 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.01462/1.766, allocations: 4.323 MB / 1.432 GB, free: 5.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/1.767, allocations: 11.97 kB / 1.432 GB, free: 5.828 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007369/1.774, allocations: 1.009 MB / 1.433 GB, free: 4.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005579/1.779, allocations: 2.164 MB / 1.435 GB, free: 2.645 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000263/1.78, allocations: 242 kB / 1.436 GB, free: 2.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001109/1.781, allocations: 327.8 kB / 1.436 GB, free: 2.094 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009992/1.791, allocations: 4.238 MB / 1.44 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001319/1.791, allocations: 7.891 kB / 1.44 GB, free: 13.78 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006359/1.792, allocations: 135.5 kB / 1.44 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002039/1.792, allocations: 170.3 kB / 1.44 GB, free: 13.48 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009238/1.801, allocations: 4.78 MB / 1.445 GB, free: 8.691 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.02238/1.824, allocations: 14.4 MB / 1.459 GB, free: 9.484 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006837/1.83, allocations: 4.552 MB / 1.463 GB, free: 4.934 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003913/1.834, allocations: 2.45 MB / 1.466 GB, free: 2.48 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001883/1.836, allocations: 1.618 MB / 1.467 GB, free: 0.543 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.714e-05/1.836, allocations: 81.58 kB / 1.468 GB, free: 464 kB / 1.061 GB Notification: Performance of pre-optimization done (n=392): time 6.252e-06/1.836, allocations: 4 kB / 1.468 GB, free: 460 kB / 1.061 GB Notification: Performance of matching and sorting (n=392): time 0.01069/1.847, allocations: 5.528 MB / 1.473 GB, free: 10.89 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/1.847, allocations: 102.4 kB / 1.473 GB, free: 10.78 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00352/1.851, allocations: 1.68 MB / 1.475 GB, free: 9.059 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0004021/1.851, allocations: 93.7 kB / 1.475 GB, free: 8.961 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001096/1.852, allocations: 1.139 MB / 1.476 GB, free: 7.809 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001466/1.854, allocations: 1.315 MB / 1.477 GB, free: 6.504 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005229/1.854, allocations: 268.8 kB / 1.477 GB, free: 6.234 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001152/1.854, allocations: 301.1 kB / 1.478 GB, free: 5.938 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002859/1.857, allocations: 1.568 MB / 1.479 GB, free: 4.367 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003354/1.861, allocations: 1.912 MB / 1.481 GB, free: 2.387 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006488/1.867, allocations: 3.77 MB / 1.485 GB, free: 14.53 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.972e-05/1.867, allocations: 4 kB / 1.485 GB, free: 14.53 MB / 1.092 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007978/1.875, allocations: 4.177 MB / 1.489 GB, free: 10.32 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/1.875, allocations: 8 kB / 1.489 GB, free: 10.32 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/1.875, allocations: 4 kB / 1.489 GB, free: 10.31 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.7e-05/1.875, allocations: 20 kB / 1.489 GB, free: 10.29 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003259/1.879, allocations: 0.6988 MB / 1.49 GB, free: 9.594 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.991e-05/1.879, allocations: 19.94 kB / 1.49 GB, free: 9.574 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004219/1.883, allocations: 484.7 kB / 1.49 GB, free: 9.098 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003752/1.883, allocations: 116 kB / 1.49 GB, free: 8.984 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.002162/1.885, allocations: 0.8015 MB / 1.491 GB, free: 8.172 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/1.887, allocations: 296.4 kB / 1.491 GB, free: 7.879 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008473/1.895, allocations: 4.425 MB / 1.496 GB, free: 3.418 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.174e-05/1.895, allocations: 40 kB / 1.496 GB, free: 3.379 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/1.895, allocations: 0 / 1.496 GB, free: 3.379 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005939/1.901, allocations: 3.803 MB / 1.499 GB, free: 15.51 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/1.916, allocations: 8.636 MB / 1.508 GB, free: 6.805 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/1.916, allocations: 4 kB / 1.508 GB, free: 6.801 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003266/1.92, allocations: 0.7259 MB / 1.508 GB, free: 6.074 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.057e-05/1.92, allocations: 19.94 kB / 1.508 GB, free: 6.055 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002873/1.92, allocations: 83.98 kB / 1.509 GB, free: 5.973 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.929e-05/1.92, allocations: 19.98 kB / 1.509 GB, free: 5.953 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/1.92, allocations: 7.938 kB / 1.509 GB, free: 5.945 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/1.93, allocations: 6.558 MB / 1.515 GB, free: 15.29 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002205/1.933, allocations: 0.7972 MB / 1.516 GB, free: 14.47 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007187/1.933, allocations: 76 kB / 1.516 GB, free: 14.4 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00311/1.936, allocations: 260.2 kB / 1.516 GB, free: 14.14 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000463/1.937, allocations: 234.7 kB / 1.516 GB, free: 13.91 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002686/1.937, allocations: 116 kB / 1.516 GB, free: 13.8 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002148/1.939, allocations: 1.157 MB / 1.518 GB, free: 12.62 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.6e-07/1.939, allocations: 0 / 1.518 GB, free: 12.62 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003509/1.943, allocations: 1.236 MB / 1.519 GB, free: 11.38 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.001169/1.944, allocations: 466.8 kB / 1.519 GB, free: 10.94 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.006891/1.951, allocations: 3.928 MB / 1.523 GB, free: 7 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.951, allocations: 3.938 kB / 1.523 GB, free: 6.996 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.003621/1.955, allocations: 2.15 MB / 1.525 GB, free: 4.848 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009464/1.964, allocations: 1.533 MB / 1.527 GB, free: 3.332 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/1.982, allocations: 9.657 MB / 1.536 GB, free: 9.594 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003481/1.986, allocations: 2.209 MB / 1.538 GB, free: 7.348 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001896/1.988, allocations: 311.4 kB / 1.539 GB, free: 7.043 MB / 1.139 GB Notification: Performance of SimCode: time 2.004e-06/1.988, allocations: 0 / 1.539 GB, free: 7.043 MB / 1.139 GB Notification: Performance of Templates: time 0.09428/2.082, allocations: 53.88 MB / 1.591 GB, free: 1.387 MB / 1.186 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