Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001102/0.001102, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009175/0.009176, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.597/1.597, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.073/3.073, allocations: 470.6 MB / 0.7442 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003907, allocations: 8.688 kB / 0.9123 GB, free: 34.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4045, allocations: 161.4 MB / 1.07 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.122/1.526, allocations: 307.7 MB / 1.37 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02729/1.554, allocations: 18.5 MB / 1.388 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005573/1.559, allocations: 74.84 kB / 1.389 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006527/1.566, allocations: 1.874 MB / 1.39 GB, free: 15.03 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.02357/1.59, allocations: 6.901 MB / 1.397 GB, free: 13.23 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01081/1.6, allocations: 2.941 MB / 1.4 GB, free: 11.36 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0177/1.618, allocations: 13.12 MB / 1.413 GB, free: 4.703 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006165/1.624, allocations: 2.588 MB / 1.415 GB, free: 3.176 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007864/1.632, allocations: 2.808 MB / 1.418 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008782/1.641, allocations: 3.256 MB / 1.421 GB, free: 384 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001694/1.643, allocations: 203.3 kB / 1.421 GB, free: 380 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01977/1.663, allocations: 8.096 MB / 1.429 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003746/1.666, allocations: 1.475 MB / 1.431 GB, free: 11.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.007463/1.674, allocations: 2.076 MB / 1.433 GB, free: 9.133 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.02384/1.698, allocations: 8.384 MB / 1.441 GB, free: 1.223 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.698, allocations: 0 / 1.441 GB, free: 1.223 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.214e-06/1.698, allocations: 0 / 1.441 GB, free: 1.223 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002655/1.698, allocations: 0 / 1.441 GB, free: 1.223 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.01555/1.714, allocations: 4.319 MB / 1.445 GB, free: 12.86 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/1.714, allocations: 8.031 kB / 1.445 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008023/1.722, allocations: 1.017 MB / 1.446 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006508/1.728, allocations: 2.163 MB / 1.448 GB, free: 9.664 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003758/1.729, allocations: 240.8 kB / 1.449 GB, free: 9.43 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001398/1.73, allocations: 323.8 kB / 1.449 GB, free: 9.117 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01161/1.742, allocations: 4.249 MB / 1.453 GB, free: 4.797 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001598/1.742, allocations: 0 / 1.453 GB, free: 4.797 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007918/1.743, allocations: 143.1 kB / 1.453 GB, free: 4.66 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002458/1.743, allocations: 170.3 kB / 1.453 GB, free: 4.492 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/1.755, allocations: 4.777 MB / 1.458 GB, free: 15.71 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.02804/1.783, allocations: 14.39 MB / 1.472 GB, free: 448 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008476/1.792, allocations: 4.562 MB / 1.476 GB, free: 11.88 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005178/1.797, allocations: 2.444 MB / 1.479 GB, free: 9.43 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002224/1.799, allocations: 1.616 MB / 1.48 GB, free: 7.48 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/1.799, allocations: 81.62 kB / 1.48 GB, free: 7.391 MB / 1.076 GB Notification: Performance of pre-optimization done (n=392): time 6.662e-06/1.799, allocations: 0 / 1.48 GB, free: 7.391 MB / 1.076 GB Notification: Performance of matching and sorting (n=392): time 0.01272/1.812, allocations: 5.531 MB / 1.486 GB, free: 1.836 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.163e-05/1.812, allocations: 90.48 kB / 1.486 GB, free: 1.734 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003409/1.816, allocations: 1.688 MB / 1.488 GB, free: 4 kB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000566/1.816, allocations: 93.7 kB / 1.488 GB, free: 15.91 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001077/1.817, allocations: 1.139 MB / 1.489 GB, free: 14.75 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001762/1.819, allocations: 1.313 MB / 1.49 GB, free: 13.42 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006365/1.82, allocations: 272.8 kB / 1.49 GB, free: 13.15 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.82, allocations: 305.1 kB / 1.491 GB, free: 12.85 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003161/1.823, allocations: 1.564 MB / 1.492 GB, free: 11.28 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003566/1.827, allocations: 1.916 MB / 1.494 GB, free: 9.297 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007391/1.834, allocations: 3.766 MB / 1.498 GB, free: 5.445 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/1.834, allocations: 0 / 1.498 GB, free: 5.445 MB / 1.092 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009645/1.844, allocations: 4.181 MB / 1.502 GB, free: 1.238 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/1.844, allocations: 8 kB / 1.502 GB, free: 1.23 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/1.844, allocations: 4.656 kB / 1.502 GB, free: 1.227 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.324e-05/1.844, allocations: 24 kB / 1.502 GB, free: 1.203 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003413/1.847, allocations: 0.6944 MB / 1.503 GB, free: 0.5078 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.977e-05/1.847, allocations: 23.88 kB / 1.503 GB, free: 496 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004153/1.852, allocations: 480.7 kB / 1.503 GB, free: 12 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005823/1.852, allocations: 116 kB / 1.503 GB, free: 15.9 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.002321/1.854, allocations: 0.8015 MB / 1.504 GB, free: 15.09 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/1.856, allocations: 288.5 kB / 1.504 GB, free: 14.8 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009284/1.865, allocations: 4.429 MB / 1.509 GB, free: 10.34 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.155e-05/1.865, allocations: 44 kB / 1.509 GB, free: 10.29 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.861e-05/1.865, allocations: 3.938 kB / 1.509 GB, free: 10.29 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006992/1.872, allocations: 3.799 MB / 1.512 GB, free: 6.418 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01992/1.892, allocations: 8.64 MB / 1.521 GB, free: 13.61 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.848e-05/1.892, allocations: 4 kB / 1.521 GB, free: 13.61 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003794/1.896, allocations: 0.722 MB / 1.521 GB, free: 12.89 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.277e-05/1.896, allocations: 19.98 kB / 1.521 GB, free: 12.87 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004206/1.896, allocations: 83.98 kB / 1.522 GB, free: 12.79 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.163e-05/1.896, allocations: 16 kB / 1.522 GB, free: 12.77 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.896, allocations: 3.938 kB / 1.522 GB, free: 12.77 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/1.909, allocations: 6.574 MB / 1.528 GB, free: 6.098 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003405/1.912, allocations: 0.7894 MB / 1.529 GB, free: 5.285 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001432/1.914, allocations: 79.92 kB / 1.529 GB, free: 5.207 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004371/1.918, allocations: 265.6 kB / 1.529 GB, free: 4.949 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007631/1.919, allocations: 234.6 kB / 1.529 GB, free: 4.719 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004487/1.92, allocations: 112 kB / 1.529 GB, free: 4.609 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003226/1.923, allocations: 1.157 MB / 1.531 GB, free: 3.43 MB / 1.123 GB Notification: Performance of sort global known variables: time 2e-07/1.923, allocations: 0 / 1.531 GB, free: 3.43 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.004626/1.928, allocations: 1.232 MB / 1.532 GB, free: 2.195 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.001476/1.929, allocations: 477.7 kB / 1.532 GB, free: 1.73 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.008098/1.937, allocations: 3.925 MB / 1.536 GB, free: 13.79 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/1.937, allocations: 0 / 1.536 GB, free: 13.79 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.004378/1.942, allocations: 2.156 MB / 1.538 GB, free: 11.64 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01049/1.952, allocations: 1.52 MB / 1.54 GB, free: 10.12 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01831/1.97, allocations: 9.489 MB / 1.549 GB, free: 0.5625 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003102/1.974, allocations: 2.205 MB / 1.551 GB, free: 14.32 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.00588/1.98, allocations: 1.208 MB / 1.552 GB, free: 13.11 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001619/1.981, allocations: 271.4 kB / 1.552 GB, free: 12.84 MB / 1.154 GB Notification: Performance of SimCode: time 1.714e-06/1.981, allocations: 0 / 1.552 GB, free: 12.84 MB / 1.154 GB Notification: Performance of Templates: time 0.1175/2.099, allocations: 58.73 MB / 1.61 GB, free: 2.777 MB / 1.201 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches