Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: 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_10_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_10_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.001148/0.001148, allocations: 98.88 kB / 16.02 MB, free: 76 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.001181/0.00118, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.528/1.528, allocations: 223.3 MB / 241 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.803/2.803, allocations: 437.8 MB / 0.7128 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003541, allocations: 12.28 kB / 0.8735 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7095/0.7099, allocations: 153.8 MB / 1.024 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.076/1.786, allocations: 307.7 MB / 1.324 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02756/1.814, allocations: 18.49 MB / 1.342 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005556/1.819, allocations: 77.94 kB / 1.342 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006308/1.826, allocations: 1.879 MB / 1.344 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.02173/1.847, allocations: 6.894 MB / 1.351 GB, free: 476 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0109/1.858, allocations: 2.927 MB / 1.354 GB, free: 368 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.02268/1.881, allocations: 13.24 MB / 1.367 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007886/1.889, allocations: 2.587 MB / 1.369 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01062/1.9, allocations: 2.807 MB / 1.372 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009351/1.909, allocations: 3.267 MB / 1.375 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001741/1.911, allocations: 197.9 kB / 1.375 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02125/1.932, allocations: 8.107 MB / 1.383 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003967/1.936, allocations: 1.465 MB / 1.385 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007552/1.944, allocations: 2.077 MB / 1.387 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01351/1.957, allocations: 5.921 MB / 1.392 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/1.957, allocations: 0 / 1.392 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.707e-06/1.957, allocations: 0 / 1.392 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003053/1.958, allocations: 0 / 1.392 GB, free: 2.344 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01594/1.974, allocations: 4.322 MB / 1.397 GB, free: 14.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/1.974, allocations: 12.02 kB / 1.397 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00764/1.981, allocations: 1.006 MB / 1.398 GB, free: 13.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006608/1.988, allocations: 2.166 MB / 1.4 GB, free: 11.46 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003244/1.988, allocations: 248.2 kB / 1.4 GB, free: 11.22 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001631/1.99, allocations: 323.7 kB / 1.4 GB, free: 10.91 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01178/2.002, allocations: 4.237 MB / 1.404 GB, free: 6.598 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000177/2.002, allocations: 11.84 kB / 1.404 GB, free: 6.586 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009254/2.003, allocations: 131.6 kB / 1.405 GB, free: 6.461 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002368/2.003, allocations: 166.4 kB / 1.405 GB, free: 6.297 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/2.014, allocations: 4.783 MB / 1.409 GB, free: 1.504 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.02643/2.04, allocations: 14.4 MB / 1.424 GB, free: 2.293 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008405/2.049, allocations: 4.552 MB / 1.428 GB, free: 13.74 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004824/2.054, allocations: 2.45 MB / 1.43 GB, free: 11.29 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002191/2.056, allocations: 1.618 MB / 1.432 GB, free: 9.348 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/2.056, allocations: 81.64 kB / 1.432 GB, free: 9.258 MB / 1.045 GB Notification: Performance of pre-optimization done (n=392): time 7.864e-06/2.056, allocations: 0 / 1.432 GB, free: 9.258 MB / 1.045 GB Notification: Performance of matching and sorting (n=392): time 0.01223/2.068, allocations: 5.539 MB / 1.437 GB, free: 3.695 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.575e-05/2.068, allocations: 98.42 kB / 1.438 GB, free: 3.586 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002938/2.071, allocations: 1.676 MB / 1.439 GB, free: 1.867 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0005234/2.072, allocations: 93.7 kB / 1.439 GB, free: 1.77 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009467/2.073, allocations: 1.136 MB / 1.44 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.00166/2.075, allocations: 1.321 MB / 1.442 GB, free: 15.31 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004042/2.075, allocations: 276.7 kB / 1.442 GB, free: 15.04 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001972/2.075, allocations: 301.1 kB / 1.442 GB, free: 14.74 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002753/2.078, allocations: 1.564 MB / 1.444 GB, free: 13.17 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003075/2.081, allocations: 1.92 MB / 1.446 GB, free: 11.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006517/2.088, allocations: 3.762 MB / 1.449 GB, free: 7.336 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.659e-05/2.088, allocations: 4 kB / 1.449 GB, free: 7.332 MB / 1.061 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007303/2.095, allocations: 4.173 MB / 1.453 GB, free: 3.133 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/2.095, allocations: 8 kB / 1.453 GB, free: 3.125 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/2.095, allocations: 4 kB / 1.453 GB, free: 3.121 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.135e-05/2.095, allocations: 23.94 kB / 1.453 GB, free: 3.098 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002987/2.098, allocations: 0.6948 MB / 1.454 GB, free: 2.402 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.92e-05/2.098, allocations: 20 kB / 1.454 GB, free: 2.383 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003803/2.102, allocations: 484.7 kB / 1.455 GB, free: 1.906 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002707/2.102, allocations: 120 kB / 1.455 GB, free: 1.789 MB / 1.061 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.001773/2.104, allocations: 0.7937 MB / 1.455 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007358/2.105, allocations: 292.5 kB / 1.456 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007372/2.112, allocations: 4.437 MB / 1.46 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.231e-05/2.112, allocations: 39.98 kB / 1.46 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/2.112, allocations: 0 / 1.46 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0054/2.118, allocations: 3.792 MB / 1.464 GB, free: 8.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/2.132, allocations: 8.638 MB / 1.472 GB, free: 15.62 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/2.132, allocations: 4 kB / 1.472 GB, free: 15.62 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003201/2.135, allocations: 0.7259 MB / 1.473 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-05/2.135, allocations: 12 kB / 1.473 GB, free: 14.88 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002145/2.135, allocations: 87.97 kB / 1.473 GB, free: 14.79 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.798e-05/2.135, allocations: 16 kB / 1.473 GB, free: 14.78 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/2.135, allocations: 7.938 kB / 1.473 GB, free: 14.77 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009245/2.145, allocations: 6.562 MB / 1.479 GB, free: 8.113 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002087/2.147, allocations: 0.7933 MB / 1.48 GB, free: 7.297 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004777/2.147, allocations: 76 kB / 1.48 GB, free: 7.223 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002561/2.15, allocations: 259.5 kB / 1.481 GB, free: 6.969 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004374/2.15, allocations: 242.5 kB / 1.481 GB, free: 6.73 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002169/2.151, allocations: 112 kB / 1.481 GB, free: 6.621 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001648/2.152, allocations: 1.157 MB / 1.482 GB, free: 5.441 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.8e-07/2.152, allocations: 3.938 kB / 1.482 GB, free: 5.438 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003129/2.155, allocations: 1.228 MB / 1.483 GB, free: 4.207 MB / 1.092 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.001066/2.156, allocations: 469.2 kB / 1.484 GB, free: 3.762 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006351/2.163, allocations: 3.928 MB / 1.488 GB, free: 15.82 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/2.163, allocations: 0 / 1.488 GB, free: 15.82 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003214/2.166, allocations: 2.154 MB / 1.49 GB, free: 13.67 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008963/2.175, allocations: 1.539 MB / 1.491 GB, free: 12.14 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/2.189, allocations: 9.652 MB / 1.501 GB, free: 2.414 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/2.191, allocations: 2.205 MB / 1.503 GB, free: 176 kB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001917/2.193, allocations: 307.4 kB / 1.503 GB, free: 15.87 MB / 1.123 GB Notification: Performance of SimCode: time 1.332e-06/2.193, allocations: 0 / 1.503 GB, free: 15.87 MB / 1.123 GB Notification: Performance of Templates: time 0.08603/2.279, allocations: 53.88 MB / 1.556 GB, free: 10.22 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches