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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001194/0.001194, allocations: 97.64 kB / 15.36 MB, free: 0.7305 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.001427/0.001427, allocations: 172.7 kB / 16.26 MB, free: 6.664 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.42/1.42, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.665/2.665, allocations: 437.8 MB / 0.7121 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004103, allocations: 8 kB / 0.8728 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8321/0.8325, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.062/1.895, allocations: 307.7 MB / 1.324 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02976/1.924, allocations: 18.48 MB / 1.342 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007781/1.932, allocations: 74.81 kB / 1.342 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.008737/1.941, allocations: 1.867 MB / 1.343 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.02279/1.964, allocations: 6.909 MB / 1.35 GB, free: 488 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.009321/1.973, allocations: 2.934 MB / 1.353 GB, free: 376 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01799/1.991, allocations: 13.23 MB / 1.366 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006227/1.997, allocations: 2.58 MB / 1.369 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009047/2.007, allocations: 2.805 MB / 1.371 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009003/2.016, allocations: 3.268 MB / 1.374 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001693/2.017, allocations: 196.9 kB / 1.375 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01986/2.037, allocations: 8.101 MB / 1.383 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003499/2.041, allocations: 1.47 MB / 1.384 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006001/2.047, allocations: 2.078 MB / 1.386 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02235/2.069, allocations: 8.38 MB / 1.394 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/2.069, allocations: 3.984 kB / 1.394 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.597e-06/2.069, allocations: 0 / 1.394 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002412/2.069, allocations: 0 / 1.394 GB, free: 0.5703 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.01478/2.084, allocations: 4.319 MB / 1.398 GB, free: 12.21 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/2.084, allocations: 8.031 kB / 1.398 GB, free: 12.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007769/2.092, allocations: 1.015 MB / 1.399 GB, free: 11.19 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00608/2.098, allocations: 2.155 MB / 1.402 GB, free: 9.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003701/2.099, allocations: 249 kB / 1.402 GB, free: 8.781 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001616/2.1, allocations: 323.3 kB / 1.402 GB, free: 8.469 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/2.111, allocations: 4.246 MB / 1.406 GB, free: 4.148 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/2.112, allocations: 7.906 kB / 1.406 GB, free: 4.141 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003921/2.112, allocations: 131.8 kB / 1.406 GB, free: 4.016 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002141/2.112, allocations: 166.4 kB / 1.406 GB, free: 3.852 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009724/2.122, allocations: 4.783 MB / 1.411 GB, free: 15.06 MB / 1.029 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.02828/2.15, allocations: 14.41 MB / 1.425 GB, free: 15.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008222/2.159, allocations: 4.547 MB / 1.43 GB, free: 11.29 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004763/2.163, allocations: 2.447 MB / 1.432 GB, free: 8.844 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002145/2.166, allocations: 1.624 MB / 1.434 GB, free: 6.898 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/2.166, allocations: 81.58 kB / 1.434 GB, free: 6.809 MB / 1.045 GB Notification: Performance of pre-optimization done (n=392): time 5.61e-06/2.166, allocations: 0 / 1.434 GB, free: 6.809 MB / 1.045 GB Notification: Performance of matching and sorting (n=392): time 0.01232/2.178, allocations: 5.535 MB / 1.439 GB, free: 1.25 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.893e-05/2.178, allocations: 98.42 kB / 1.439 GB, free: 1.141 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003308/2.181, allocations: 1.684 MB / 1.441 GB, free: 15.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0006452/2.182, allocations: 89.7 kB / 1.441 GB, free: 15.32 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001122/2.183, allocations: 1.139 MB / 1.442 GB, free: 14.17 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.002275/2.186, allocations: 1.311 MB / 1.443 GB, free: 12.87 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008489/2.186, allocations: 272.8 kB / 1.444 GB, free: 12.6 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001105/2.187, allocations: 301.1 kB / 1.444 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003236/2.19, allocations: 1.568 MB / 1.445 GB, free: 10.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003543/2.193, allocations: 1.92 MB / 1.447 GB, free: 8.742 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006773/2.2, allocations: 3.762 MB / 1.451 GB, free: 4.895 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.771e-05/2.2, allocations: 4 kB / 1.451 GB, free: 4.891 MB / 1.061 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008642/2.209, allocations: 4.178 MB / 1.455 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/2.209, allocations: 8.094 kB / 1.455 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/2.209, allocations: 8 kB / 1.455 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-05/2.209, allocations: 19.94 kB / 1.455 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003169/2.212, allocations: 0.6943 MB / 1.456 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.95e-05/2.212, allocations: 23.98 kB / 1.456 GB, free: 15.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003957/2.216, allocations: 484.7 kB / 1.456 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004427/2.217, allocations: 116 kB / 1.456 GB, free: 15.34 MB / 1.076 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.002116/2.219, allocations: 0.8015 MB / 1.457 GB, free: 14.53 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/2.22, allocations: 292.5 kB / 1.457 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008467/2.228, allocations: 4.444 MB / 1.462 GB, free: 9.762 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.1e-05/2.228, allocations: 36 kB / 1.462 GB, free: 9.727 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/2.228, allocations: 0 / 1.462 GB, free: 9.727 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00608/2.234, allocations: 3.796 MB / 1.466 GB, free: 5.859 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01657/2.251, allocations: 8.626 MB / 1.474 GB, free: 13.17 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/2.251, allocations: 320 / 1.474 GB, free: 13.17 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003463/2.255, allocations: 0.7295 MB / 1.475 GB, free: 12.44 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.377e-05/2.255, allocations: 12 kB / 1.475 GB, free: 12.43 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003203/2.255, allocations: 87.97 kB / 1.475 GB, free: 12.34 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.104e-05/2.255, allocations: 16 kB / 1.475 GB, free: 12.32 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.53e-05/2.255, allocations: 7.938 kB / 1.475 GB, free: 12.32 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01057/2.266, allocations: 6.558 MB / 1.481 GB, free: 5.664 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002319/2.268, allocations: 0.8011 MB / 1.482 GB, free: 4.84 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008399/2.269, allocations: 72 kB / 1.482 GB, free: 4.77 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003195/2.272, allocations: 263.5 kB / 1.482 GB, free: 4.512 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005213/2.273, allocations: 234.5 kB / 1.482 GB, free: 4.281 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002818/2.273, allocations: 116 kB / 1.483 GB, free: 4.168 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002112/2.275, allocations: 1.157 MB / 1.484 GB, free: 2.988 MB / 1.092 GB Notification: Performance of sort global known variables: time 4.31e-07/2.275, allocations: 4 kB / 1.484 GB, free: 2.984 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00363/2.279, allocations: 1.232 MB / 1.485 GB, free: 1.75 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.001181/2.28, allocations: 472.6 kB / 1.485 GB, free: 1.305 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006902/2.287, allocations: 3.925 MB / 1.489 GB, free: 13.37 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/2.287, allocations: 8.062 kB / 1.489 GB, free: 13.36 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003614/2.29, allocations: 2.152 MB / 1.491 GB, free: 11.21 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009492/2.3, allocations: 1.533 MB / 1.493 GB, free: 9.691 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/2.316, allocations: 9.49 MB / 1.502 GB, free: 132 kB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0027/2.319, allocations: 2.209 MB / 1.504 GB, free: 13.88 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.005611/2.324, allocations: 1.204 MB / 1.505 GB, free: 12.67 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/2.326, allocations: 267.4 kB / 1.506 GB, free: 12.41 MB / 1.123 GB Notification: Performance of SimCode: time 1.132e-06/2.326, allocations: 4 kB / 1.506 GB, free: 12.41 MB / 1.123 GB Notification: Performance of Templates: time 0.1019/2.428, allocations: 58.71 MB / 1.563 GB, free: 2.418 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches