Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001122/0.001123, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001224/0.001225, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.306/2.306, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.91 kB / 0.8118 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6378/0.639, allocations: 140.4 MB / 0.9489 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.8575/1.497, allocations: 312 MB / 1.254 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02649/1.523, allocations: 18.68 MB / 1.272 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004957/1.528, allocations: 76.58 kB / 1.272 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005597/1.534, allocations: 1.878 MB / 1.274 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02073/1.555, allocations: 6.903 MB / 1.28 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009396/1.564, allocations: 2.934 MB / 1.283 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01577/1.58, allocations: 13.13 MB / 1.296 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005534/1.585, allocations: 2.643 MB / 1.299 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007452/1.593, allocations: 2.893 MB / 1.302 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007734/1.601, allocations: 3.358 MB / 1.305 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00143/1.602, allocations: 227.1 kB / 1.305 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01633/1.618, allocations: 8.128 MB / 1.313 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003278/1.622, allocations: 1.522 MB / 1.314 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006323/1.628, allocations: 2.123 MB / 1.317 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01996/1.648, allocations: 8.48 MB / 1.325 GB, free: 15.89 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.648, allocations: 0 / 1.325 GB, free: 15.89 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.755e-06/1.648, allocations: 6.125 kB / 1.325 GB, free: 15.88 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002663/1.648, allocations: 0 / 1.325 GB, free: 15.88 MB / 1.014 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.01553/1.664, allocations: 4.992 MB / 1.33 GB, free: 13.94 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/1.664, allocations: 10.69 kB / 1.33 GB, free: 13.94 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006738/1.671, allocations: 1.012 MB / 1.331 GB, free: 13.73 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004192/1.675, allocations: 2.155 MB / 1.333 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/1.675, allocations: 245.9 kB / 1.333 GB, free: 13.13 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005118/1.675, allocations: 332.8 kB / 1.333 GB, free: 13.12 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006748/1.682, allocations: 4.232 MB / 1.338 GB, free: 11.99 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.072e-05/1.682, allocations: 13.09 kB / 1.338 GB, free: 11.99 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000302/1.683, allocations: 136 kB / 1.338 GB, free: 11.99 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001638/1.683, allocations: 174.4 kB / 1.338 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007342/1.69, allocations: 4.782 MB / 1.342 GB, free: 11.07 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.01933/1.71, allocations: 14.37 MB / 1.357 GB, free: 2.348 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00569/1.715, allocations: 4.564 MB / 1.361 GB, free: 1.715 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003336/1.719, allocations: 2.443 MB / 1.363 GB, free: 1.379 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001721/1.72, allocations: 1.613 MB / 1.365 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.402e-05/1.72, allocations: 82.23 kB / 1.365 GB, free: 15.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=392): time 6.221e-06/1.72, allocations: 3.219 kB / 1.365 GB, free: 15.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=392): time 0.009234/1.73, allocations: 5.536 MB / 1.37 GB, free: 13.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/1.73, allocations: 94.48 kB / 1.371 GB, free: 13.19 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002539/1.732, allocations: 1.684 MB / 1.372 GB, free: 11.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0003901/1.733, allocations: 93.7 kB / 1.372 GB, free: 11.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007865/1.734, allocations: 1.128 MB / 1.373 GB, free: 10.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001271/1.735, allocations: 1.318 MB / 1.375 GB, free: 8.918 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008654/1.736, allocations: 0.5546 MB / 1.375 GB, free: 8.355 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.019e-05/1.736, allocations: 305.1 kB / 1.375 GB, free: 8.055 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002424/1.738, allocations: 1.564 MB / 1.377 GB, free: 6.488 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002662/1.741, allocations: 1.914 MB / 1.379 GB, free: 4.508 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005467/1.746, allocations: 3.769 MB / 1.383 GB, free: 0.6719 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/1.746, allocations: 0 / 1.383 GB, free: 0.6719 MB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006979/1.753, allocations: 4.178 MB / 1.387 GB, free: 12.5 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/1.753, allocations: 8 kB / 1.387 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/1.753, allocations: 4 kB / 1.387 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.111e-05/1.753, allocations: 20 kB / 1.387 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003075/1.757, allocations: 0.6947 MB / 1.387 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.925e-05/1.757, allocations: 26.62 kB / 1.387 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003596/1.76, allocations: 476.9 kB / 1.388 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002609/1.76, allocations: 116 kB / 1.388 GB, free: 11.21 MB / 1.045 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.001686/1.762, allocations: 0.7912 MB / 1.389 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007119/1.763, allocations: 300.5 kB / 1.389 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007123/1.77, allocations: 4.439 MB / 1.393 GB, free: 5.676 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-05/1.77, allocations: 40 kB / 1.393 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.77, allocations: 0 / 1.393 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005433/1.776, allocations: 3.79 MB / 1.397 GB, free: 1.781 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/1.79, allocations: 8.646 MB / 1.406 GB, free: 9.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/1.79, allocations: 4 kB / 1.406 GB, free: 9.086 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003366/1.793, allocations: 0.7208 MB / 1.406 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-05/1.793, allocations: 19.94 kB / 1.406 GB, free: 8.383 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002393/1.794, allocations: 87.97 kB / 1.406 GB, free: 8.297 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.861e-05/1.794, allocations: 18.62 kB / 1.406 GB, free: 8.281 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.794, allocations: 0 / 1.406 GB, free: 8.281 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009613/1.803, allocations: 6.559 MB / 1.413 GB, free: 1.633 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002061/1.805, allocations: 0.7972 MB / 1.414 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004865/1.806, allocations: 79.94 kB / 1.414 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002487/1.808, allocations: 272 kB / 1.414 GB, free: 484 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004534/1.809, allocations: 234.7 kB / 1.414 GB, free: 248 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002332/1.809, allocations: 116 kB / 1.414 GB, free: 132 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001651/1.811, allocations: 1.149 MB / 1.415 GB, free: 14.96 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.811, allocations: 2.531 kB / 1.415 GB, free: 14.96 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002915/1.814, allocations: 1.228 MB / 1.417 GB, free: 13.73 MB / 1.076 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.0009929/1.815, allocations: 462.5 kB / 1.417 GB, free: 13.33 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006115/1.821, allocations: 3.929 MB / 1.421 GB, free: 9.445 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.821, allocations: 0 / 1.421 GB, free: 9.445 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003017/1.824, allocations: 2.158 MB / 1.423 GB, free: 7.367 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007329/1.831, allocations: 1.53 MB / 1.424 GB, free: 5.852 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/1.844, allocations: 9.169 MB / 1.433 GB, free: 12.64 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001796/1.846, allocations: 2.205 MB / 1.435 GB, free: 10.39 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00473/1.851, allocations: 1.208 MB / 1.437 GB, free: 9.18 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/1.852, allocations: 267.4 kB / 1.437 GB, free: 8.918 MB / 1.092 GB Notification: Performance of SimCode: time 1.042e-06/1.852, allocations: 0 / 1.437 GB, free: 8.918 MB / 1.092 GB Notification: Performance of Templates: time 0.09234/1.944, allocations: 59.22 MB / 1.495 GB, free: 14.62 MB / 1.154 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches